Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

write a program that takes 5 digit no and calculate 2 power
that no and print it.

Answer Posted / kathir

#include<iostream.h>
void main()
{
int a,n=0;
cout<<"Enter the 5 didgit no:"<<endl;
cin>>a;
n=(a*a);
cout<<"The two power given no is:"<<n<<endl;

}

Is This Answer Correct ?    4 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I learn dev c++ programming?

1058


What is flush c++?

1011


What are the various operations performed on stack?

1101


What is the history of c++?

1081


In the derived class, which data member of the base class are visible?

1116


What is difference between class and function?

1092


What is new in c++?

1100


What do nonglobal variables default to a) auto b) register c) static

1157


Am pass the 10000 records to target in target I will take commit interval 15000 when I was stop the work flow what will happened

1561


What is dev c++ used for?

1042


What is the output of the following program? Why?

1146


Explain the difference between new() and malloc() in c++?

1132


What is the use of setprecision in c++?

1017


Is dev c++ a good compiler?

969


List the issue that the auto_ptr object handles?

1026