In this article, we will learn how to write the Sum of N numbers program in C.

## C Program to find Sum of N Numbers

#include<stdio.h> int main() { int Number, i, Sum = 0; printf("\nPlease Enter any Integer Value\n"); scanf("%d", &Number); for(i = 1; i <= Number; i++) { Sum = Sum + i; } printf("Sum of Natural Numbers = %d", Sum); return 0; }