#include<stdio.h>
int main()
{
int c,t=0;
for(c=0; c<10; c++)
{
t=t+c;
}
printf("The sum of the natural number is : %d\n", t);
return 0;
}
a. Function accepts no parameter and does not return any value b. Function accepts p…
0 Comments