Answer to Question #18412 in C for shravan

Question #18412
write a programm for finding square of numbers?
1
Expert's answer
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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS