#include<stdio.h>
#include<conio.h>
void main()
{
int n,r,i,sqr=0;
printf("\nENTER THE RANGE.:= ");
scanf("%d",&r);
for(i=1;i
n=i;
sqr=n*n;
printf("\nSQUARE OF %d is %d .",n,sqr);
}
getch();
}
/*-via Programming Hub for Android, a top rated Programming App on Google Play
https://play.google.com/store/apps/details?id=com.freeit.java*/
Sunday, August 16, 2015
Program: Calculate Square of 'n' numbers
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment