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 a 5 digit number and calculates
2 power
that number and prints it.

Answer Posted / sushant shrivastava

include<math.h>
include<stdio.h>


int main()
{
int i,num;

printf("Enter the value of i");
scanf("%d",&i)

num=POW(i,2);

printf("%d%d",num);

}

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?

1075


Is c procedural or functional?

1096


What is data type long in c?

1116


What does it mean when a pointer is used in an if statement?

1155


How can I manipulate strings of multibyte characters?

1157


Differentiate between a structure and a union.

1332


Define VARIABLE?

1235


Explain the difference between ++u and u++?

1187


5 Write an Algorithm to find the maximum and minimum items in a set of ā€˜n’ element.

2159


find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2

2049


How does sizeof know array size?

1170


Why is c fast?

1119


why programs in c are running with out #include? some warnings are display in terminal but we execute the program we get answer why? eg: main() { printf("hello world "); }

1811


typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?

1687


What is the difference between c and python?

1233