Write a program to find the sum of 10 numbers
Answers
Answered by
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