Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <cstdlib>
- #include <iostream>
- using namespace std;
- int main(int argc, char *argv[])
- {
- int number;
- cout << "Please write the number 1, any other number will not work!\n";
- cin >> number;
- if (number == 10)
- {
- cout << "You have typed the correct number, you won!\n";
- }
- else
- {
- cout << "You have typed an incorrect number, try again please!\n";
- }
- system("PAUSE");
- return EXIT_SUCCESS
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement