Computer Science, asked by kalaikural31, 10 months ago

write a C program to add 10 numbers​

Answers

Answered by Anonymous
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