Monday, October 21, 2019

Program to print 10 Natural numbers


#include<stdio.h>
main()
{
int i;
for(i=1;i<=10;i++)
{
printf("%d",i);
}
}


Output

1,2,3,4,5,6,7,8,9,10.

No comments:

Post a Comment