Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created August 7, 2019 23:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/4df8fb15dcebeffb2a5749b9af7f0beb to your computer and use it in GitHub Desktop.
Save parzibyte/4df8fb15dcebeffb2a5749b9af7f0beb to your computer and use it in GitHub Desktop.
#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;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment