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
Hai what is the different types of versions and their differences
What is a program flowchart?
Do you know the purpose of 'register' keyword?
Explain what will the preprocessor do for a program?
can anyone suggest some site name..where i can get some good data structure puzzles???
Does c have function or method?
What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?
write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1
Why we not create function inside function.
With the help of using classes, write a program to add two numbers.
What is the difference between exit() and _exit() function?
Can you subtract pointers from each other? Why would you?
What is static memory allocation? Explain
Is void a keyword in c?
What is a 'null pointer assignment' error?