Last active
July 12, 2017 07:24
-
-
Save SteelPh0enix/6aca157adcb8ae6bdeda2ac1656866f5 to your computer and use it in GitHub Desktop.
fixed - proper initialisation
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 <cmath> | |
#include <iostream> | |
int main() { | |
double power {std::pow(2., 3.)}; | |
std::cout << "2 to the power of 3: " << power << std::endl; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment