Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <math.h>
- #include <stdio.h>
- int main(int argc, char const *argv[])
- {
- double numero = 5;
- double potencia = 2;
- double elevado = pow(numero, potencia);
- printf("%lf elevado a la potencia %lf es %lf\n", numero, potencia, elevado);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement