nikolas_serafini

Lista 3 - Exercício 54

Jun 16th, 2013
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.27 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <math.h>
  3.  
  4. int main()
  5. {
  6.     float base,expo;
  7.  
  8.     printf("Entre com a base e o expoente desejados :\n");
  9.     scanf("%f %f",&base,&expo);
  10.     printf("POTENCIA = %.3f\n",pow(base,expo));
  11.     return 0;
  12. }
  13.  
  14. //Exercício fora de lugar, eu presumo.
Advertisement
Add Comment
Please, Sign In to add comment