Answer to Question #18412 in C for shravan
write a programm for finding square of numbers?
1
2012-11-12T09:22:37-0500
Here's a C example :
#include<stdio.h>
#include<conio.h>
void main()
{
& int n,sqr=0;
& clrscr();
& printf("\n\t ENTER THE NO.:= ");
& scanf("%d",&n);
& sqr=n*n;
& printf("\n\t SQUARE OF %d is %d .",n,sqr);
& getch();
}
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments:
C
Comments
Leave a comment