Programming Example
C program to find the sum of first n natural numbers.
C program to find the sum of first n natural numbers: This program prints the sum of first n natural numbers. A number is asked from the user and stored in variable n. For loop is used to add numbers