exponents

EMBED

Sun Sep 24 2023 09:38:44 GMT+0000 (Coordinated Universal Time)

Saved by @musmanhamed #c


#include <stdio.h> int main() { int a,x; float b; printf("enter the number"); scanf("%d",&a); printf("enter the exponent"); scanf("%d",&x); b=pow(a,x); printf("the result is %f",b);

https://www.programiz.com/c-programming/online-compiler/