Created
August 7, 2019 22:22
-
-
Save parzibyte/f08345215b26a8b93be9d73d1daf329c to your computer and use it in GitHub Desktop.
Elevar número al cubo con C++ | https://parzibyte.me/blog/2018/10/02/elevar-numero-en-cpp/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <math.h> | |
using namespace std; | |
int main() | |
{ | |
double numero = 5; | |
double elevado = pow(numero, 3); | |
cout << "El numero " << numero << " elevado al cubo es " << elevado; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment