write a c program to find the square of a 5 digit number
and print the result.
Answer Posted / ishany gaurav
#include<iostream.h>
#include<conio.h>
void main()
{
int i,k,j,l;
cout<<"lets find out the square of five digit no.";
cout<<"enter the five digit no." ;
cin>>i;
k=i*i;
cout<<"square of a no. is"<<k;
getch();
}
| Is This Answer Correct ? | 9 Yes | 30 No |
Post New Answer View All Answers
What are header files why are they important?
Which is the memory area not included in C program? give the reason
what are enumerations in C
What are derived data types in c?
Can we declare variable anywhere in c?
What is table lookup in c?
Why is c faster?
Is main an identifier in c?
formula to convert 2500mmh2o into m3/hr
What is optimization in c?
What is character constants?
Explain what does the format %10.2 mean when included in a printf statement?
What are identifiers in c?
Subtract Two Number Without Using Subtraction Operator
How can I rethow can I return a sequence of random numbers which dont repeat at all?