C program to add n numbers

C program to add n numbers

Output:

How many numbers?
5
Enter the numbers:
1 2 3 4 5
Sum of the numbers you entered is 15

Implementation: