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
Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon
Why can’t constant values be used to define an array’s initial size?
What is #include cctype?
What does typedef struct mean?
How many main () function we can have in a project?
the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?
What is 2 d array in c?
What does == mean in texting?
Lists the benefits of c programming language?
Explain setjmp()?
What is structure in c language?
Without Computer networks, Computers will be half the use. Comment.
How we can insert comments in a c program?
what are non standard function in c
Disadvantages of C language.