69./*Write
a program to print the square of given numbers.*/
#include<stdio.h>
#include<conio.h>
main()
{
int i,n;
clrscr();
for(i=1;i<=7;i++)
printf("\n%d",i*i);
getch();
}
OUTPUT
1
4
9
16
25
36
49
No comments:
Post a Comment