Question #18412

write a programm for finding square of numbers?

Expert's answer

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!

LATEST TUTORIALS
APPROVED BY CLIENTS