Sum of all numbers up to a given number Program in C

WAP to print the sum of all numbers up to a given number.

b. tech. c language tutorial learn c language mca study c language