Tuesday, 14 May 2013

8. printf numbers from 1 to 100 with formatted output


8. /* printf numbers from 1 to 100 with formatted output */
main()
{
int i;
clrscr();
for(i=1;i<=100;i++)
printf("%4d",i);
getch();
}

No comments:

Post a Comment