Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <math.h>
- int main()
- {
- float base,expo;
- printf("Entre com a base e o expoente desejados :\n");
- scanf("%f %f",&base,&expo);
- printf("POTENCIA = %.3f\n",pow(base,expo));
- return 0;
- }
- //Exercício fora de lugar, eu presumo.
Advertisement
Add Comment
Please, Sign In to add comment