Created
May 6, 2018 15:01
-
-
Save d-fect/8a0c86477ab66ea7451d7920c2b28beb to your computer and use it in GitHub Desktop.
Beginning C++ Section 4 Challenge
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> | |
int main() | |
{ | |
int favourite_number = 0; | |
std::cout << "Please enter your favourite number between 1 and 100: "; | |
std::cin >> favourite_number; | |
std::cout << "Amazing!! That's my favourite number too!" << std::endl; | |
std::cout << "No really!!, " << favourite_number << " is my favourite number!" << std::endl; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment