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

What does it mean to declare a member variable as static?

1120


If a base class is an adt, and it has three pure virtual functions, how many of these functions must be overridden in its derived classes?

1151


daily Routine of father

1461


What's c++ used for?

1160


What is null pointer and void pointer and what is their use?

1155


What do you mean by “this” pointer?

1131


Why is standard template library used?

1108


What is the basic of c++?

1109


Is c++ primer good for beginners?

1088


What do you mean by volatile and mutable keywords used in c++?

1043


Is dev c++ free?

1103


Define the process of error-handling in case of constructor failure?

1060


What is size_type?

1118


Explain container class.

1307


What is the correct syntax for inheritance a) class aclass : public superclass b) class aclass inherit superclass c) class aclass <-superclass

1251