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

The age difference between two brothers is 3 years. After 6 years the ratio between the age is 9:8 What are their ages?

828


a man works. He has to maintain 100 cups. He gets 30 ps for every cup he safeguards and has 10 pay 90 ps for every cup he breaks.if he earns rs.24 per day, how many did he break?

789


If wind flows 160 miles in 330 min, for 80 miles how much time required.

757


The price of coffee increases by 20%, how much percent consumption of coffee should be reduced by Reema so that the expenditure on coffee remains the same.

650


which of the following leaders was not among the moderates

1804






A person has his own coach&whenever he goes to railway station he takes his coach.One day he was supposed to reach the railway station at 5 O'clock.But he finished his work early and reached at 3 O'clock. Then he rung up his residence and asked to send the coach immediately. He came to know that the coach has left just now to the railway station.He thought that the coach has left just now to the railway station.He thought that he should not waste his time and started moving towards his residence at the speed of 3min/hr.On the way,he gets the coach and reaches home at 6 o'clock.How far is his residence from railway station.

737


chief : tribe :: governor :

755


A building with height D shadow upto G. What is the height of a neighbouring building with a shadow of C

662


vernacular : place : : fingerprint : ?

1536


sir iam asking you assistant stastical officer previous question paper

2022


A 2D array is declared as A[9,7] and each element requires 2 byte.If A[ 1,1 ] is stored in 3000. Find the memory of A[8,5] ?

957


+ means * and * means / and / means % what is the value of these question 2+3*5/7 it was two question of these type.

701


The area of the quadrilateral is 36 What is a*b

787


5) DB2 maintains information about the data a) In Tables b) In a set of tables known as DB2 catalog c) In DB2 database d) None of the above

1751


Business Analytics What's the difference between logistic and linear regression? How do you avoid local minima?

786