Computer Science, asked by girlyvlogs1234, 6 months ago

1. C programs
1. Wap to print product of first ten numbers.​

Answers

Answered by tanishq4310
0

Answer:

what is C . I dont know bye

Answered by ItzMsSachita
1

Answer:

C Code:

#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);

}

Similar questions