Disqus Shortname

Sunday, August 16, 2015

Program: Calculate Square of given number



#include <stdio.h>
#include <conio.h>
void main()
{
int n,sqr=0;

printf("\n\t ENTER THE NO.:= ");
scanf("%d",&n);
sqr=n*n;
printf("\n\t SQUARE 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*/


No comments:

Post a Comment