write a C program to add 10 numbers
Answers
Answered by
1
Answer:
C program to sum n numbers using a for loop
- #include <stdio.h>
- int main()
- {
- int n, sum = 0, c, value;
- printf("How many numbers you want to add?\ n");
- scanf("%d", &n);
- printf("Enter %d integers\n", n);
- for (c = 1; c <= n; c++)
Thanks for the question.
Hope it helps you.
Mark it brainliest please.
Similar questions
Social Sciences,
6 months ago
Physics,
1 year ago
Math,
1 year ago
Science,
1 year ago
English,
1 year ago