write a c/c++ program that takes a 5 digit number and
calculates 2 power that number and prints it?
Answer Posted / suvi
#include<stdio.h>
void main()
{
float a,b;
scanf("%f",&a);
b=a*a;
printf("%.0f",b);
}
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?
simple program of graphics and their output display
What are shell structures used for?
What is the concatenation operator?
What does sizeof return c?
Tell me the use of bit field in c language?
Is c is a procedural language?
Explain how can I write functions that take a variable number of arguments?
Do you know null pointer?
What is the best way of making my program efficient?
Why is #define used?
What are structure types in C?
‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .
What is c language and why we use it?
#include