Computer Science, asked by devenderkumar3222, 2 days ago

Write a program to find the sum of 10 numbers​

Answers

Answered by ParikshitPulliwar
1

Answer: main()

{

  int sum = 0;

  int n = 10;

  while(n--)

  {

     int x;

     scanf("%d", &x);

     sum = sum + x;

  }

  printf("%d", sum);

}

Explanation:

Similar questions