Find the sum of all integers from 1 to 50, inclusive.
There are 50 integers, so the sum is (1+50)×50/2 = 1275.
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.