1. C programs
1. Wap to print product of first ten numbers.
Answers
Answered by
0
Answer:
what is C . I dont know bye
Answered by
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