Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Add numbers from 1-n
#1
How do you find the sum of numbers from 1-n. There is a question that wants me to find the sum from 1 to 101.
Reply
#2
Use this equation: n(n+1)/2.
Reply


Forum Jump: