Advertisement
Guest User

Untitled

a guest
Aug 19th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. #include <math.h>
  2. #include <stdio.h>
  3. int main(int argc, char const *argv[])
  4. {
  5. double numero = 5;
  6. double potencia = 2;
  7. double elevado = pow(numero, potencia);
  8. printf("%lf elevado a la potencia %lf es %lf\n", numero, potencia, elevado);
  9. return 0;
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement