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
Explain pointer. What are function pointers in C?
Can you apply link and association interchangeably?
write a program to find out prime number using sieve case?
What is the difference between near, far and huge pointers?
What is operator precedence?
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference
what is a function method?give example?
What is c language and why we use it?
What is data types?
Explain can you assign a different address to an array tag?
What is the code for 3 questions and answer check in VisualBasic.Net?
the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function
What is an endless loop?
How to get string length of given string in c?
What are the different file extensions involved when programming in C?