> Online tutorial : SQUARE NUMBER using c
Showing posts with label SQUARE NUMBER using c. Show all posts
Showing posts with label SQUARE NUMBER using c. Show all posts

square number using calculator


PRINT THE SQUARE NUMBER


#include<studio.h>
#include<conio.h>
void main()
{
int i;
clrscr();
i=1;
while(i<=100)
{
i++;
printf("\n%d",i*i);
}
getch();
}

OUTPUT


Enter the no: 2