Tuesday, June 26, 2012

Print 1 to 10 Series


#include<stdio.h>
#include<conio.h>
int main()
{
int a;
printf("the no from 1 to 10 are:\n");
for(a=1;a<=10;a++)
printf("%d\n", a);
getch();
}

No comments:

Post a Comment