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 / s.shanmugam24

#include<stdio.h>
#include<conio.h>
#include<math.h>
void main(void)
{
int power,i;
i=2;
clrscr();
printf("enter the power values");
scanf("%d",&power);
i=pow(power);
printf("the power is",i);
}

Is This Answer Correct ?    2 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of ?

1043


What is the difference between text and binary modes?

1198


Why c is called a middle level language?

1115


What is the use of parallelize in spark?

1030


Why we use conio h in c?

1242


The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?

1283


What is the -> in c?

1018


Why c is called a mid level programming language?

1075


Explain what happens if you free a pointer twice?

1090


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

1643


If fflush wont work, what can I use to flush input?

1106


What is string in c language?

1162


How can I sort a linked list?

1049


Write a program on swapping (100, 50)

1132


How can I insert or delete a line (or record) in the middle of a file?

1022