Created
September 21, 2015 20:42
-
-
Save AndyNovo/fd3cd84bcd39790d5ff0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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<string> | |
int main(){ | |
unsigned long number_to_hit; | |
std::cin >> number_to_hit; | |
unsigned long j = 0; | |
for(unsigned long i = 0; j < number_to_hit; i++){ | |
j = i * i; | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment