Q) Write C program to print first N natural numbers ?


int main(void)
int n,i;
printf("Enter no of natural numbers you want to print\n");
printf("First N natural numbers are : ");
printf("%d ",i);
return 0;

Enter no of natural numbers you want to print
First N natural numbers are : 0 1 2 3 4

Related Post :  Addition of two numbers

If any one intrested to post something stuff that you done , you can freely post by just registering  in our website   http://www.learningbuz.com/create-post/  and you can expose your stuff to the world


Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: