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
32 people playing table tennis. how many matches to determine the winner.
When I was married 10 years back my wife was the sixth member of my family. Now I have a baby. Today my father was dead and I had a new baby. Now the average age of my family is the same as that when I was married. Find the age of my father when he was 60.
There are two glasses, one is filled with orange juice and other is filled with apple juice both in equal quantities say 50 50 ml. 50% orange juice is poured in apple juice and than the 50% mixture of orange and apple juice is poured in the glass of orange juice. Now you have to find out how much orange juice is there in apple juice glass and vice-versa.
a grandfather has 5 sons and daughters and grandchildren.they have to be arranged in a row such that the first 4 seats and last four seats are to be taken by grandchildren and the grandfather would not sit adjacent to any of the grandchildren.
Find the next number in the series 12,21,,112,121,122---
in a market 4 man are standing .the average age of the four before 4years is 45,aftyer some days one man is added and his age is 49.what is the average weight of all?
1/3 of girls , 1/2 of boys go to canteen. What factor and total number of classmates go to canteen.
Calculate the area of the triangle in square cm if a right angled triangle where the length of the shorter leg is one third of the length of its hypotenuse. And the length of the shorter leg is 7 cm.
what can you contribute to the fiscal commission?
What is your objeective in career ?
A boy asks the relation of two people walking along the street. One of them says that the lady walking with him is the daughter of his mother's only son. What is the relation between the two people?
The number 0.05 is what percent of 20?
There are 3 societies A, B, C.A lent cars to B and C as many as they had already.After some time B gave as many tractors to A and C as many as they have. After sometime c did the same thing. At the end of this transaction each one of them had 24.Find the cars each originally had.
A tailor has 37.5 metres of cloth and he has to make 8 piecesout of a metre of cloth. How many pieces can he make out of this cloth?
. Which of the following is not a VSAM dataset. a. KSDS b. RRDS c. LSDS d. ESDS