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 linked lists in c?
Can a pointer be volatile in c?
What is printf () in c?
How will you divide two numbers in a MACRO?
What is declaration and definition in c?
What is #include called?
Explain what is the stack?
When would you use a pointer to a function?
Lists the benefits of c programming language?
Why enum is used in c?
A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none
Find MAXIMUM of three distinct integers using a single C statement
What does c mean in standard form?
Explain what math functions are available for integers? For floating point?
What will the preprocessor do for a program?