Friday, April 10, 2015

19. Write a program to print first 10 terms of any series using "for" loop.

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

No comments:

Post a Comment