A program Input base and power is 4 print output.
1 2 3 4 5 6 7 8 9 10 | #include<stdio.h> int main() { int b,p,m; printf("Enter base\n"); scanf("%d",&b); p=4; m=b*b*b*b; printf("%d^%d=%d",b,p,m); } |
A blog about programming languages and this Blog specially Create for learning languages like C language,C++ Language, Data Structure and Algorithm.
1 2 3 4 5 6 7 8 9 10 | #include<stdio.h> int main() { int b,p,m; printf("Enter base\n"); scanf("%d",&b); p=4; m=b*b*b*b; printf("%d^%d=%d",b,p,m); } |
Post a Comment