Math, asked by gopalthavani8216, 1 month ago

Write a program to calculate the sum of 10 numbers. ​

Answers

Answered by beenadhuri1986
0

Answer:

10x10 is answers for this question

Answered by arpit26m4
0

Answer:

#include <stdio.h>

void main()

{

   int  j, sum = 0;

   printf("The first 10 natural number is :\n");

 

   for (j = 1; j <= 10; j++)

   {

       sum = sum + j;

       printf("%d ",j);    

   }

   printf("\nThe Sum is : %d\n", sum);

}

Step-by-step explanation:

Similar questions