Write a program that takes a 5 digit number and calculates 2
power
that number and prints it.

Answer Posted / anish

#include<stdio.h>
#include<maths.h>
#include<conio.h>
main()
{
int a,b;
printf("Enter 5 digit num");
scanf("%d",&a);
printf("the 5th power of %d is %dpow5",a,a);
getch();
}

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In a colony there are some families. Each of them have children but different in numbers.Following are conditions ano of adult>no of sons>no of daughters>no of families. b>each sister must have atleast one brother and should have at the most 1 sister. no of children in one family exceeds the sum of no of children in the rest families. Tell the no of families.

782


If A can copy 50 pages in 10 hours and A and B together can copy 70 pages in 10 hours, how much time does B takes to copy 26 pages?

793


Find the next letter in the series O,T,T,F,F,S,S--

699


There are 6561 cricket balls out of them 1 is heavy. Find the minimum no. of times the cricket balls have to be weighed for finding out the heavy ball.

718


One fast typist type some matter in 2hr and another slow typist type the same matter in 3hr. If both do combinedly in how much time they will finish.

799






194 base 10 = ____ base 5

857


Find odd one cat,dog,rabbit,hamster,elk.

897


Two trains leaving from two station 50 miles away from each other with constant speed of 60 miles per hour, approaches towards each other on different tracks. if length of each train is 1/6 mile. when they meet How much time they need to pass each other totally ?

917


A room is 30 X 12 X 12. a spider is on the middle of the smaller wall, 1 feet from the top, and a fly is on the middle of the opposite wall 1 feet from the bottom. what is the min distance required for the spider to crawl to the fly.

826


If it takes 10 technicians working 6 hours to build a server. They start woring at 11 AM and 1 technician is added per hour starting at 5 PM. At what time they will finish the server?

770


what is diff b//w the singly reinforced beam,doubly reinforced beam?

1349


a bus started from bus stand at 8.00am and after 30min staying at destination it returned back to the buss tand.the destination is 27 miles from the bustand the speed of the bus 50percent fast speed at what time it returns to the bustand.

829


analogy: cell: tissue::atom:?

834


In a mixture, R is 2 parts and S is 1 part. In order to make S to 25% of the mixture, how much of R is to be added?

709


Find the unit digit of product of the prime number up to 50 ?

991