Created
September 9, 2017 09:29
-
-
Save storm-ace/c20f34b09de99e417591572354a82f9f 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> | |
using namespace std; | |
void PrintIntro(); | |
void PlayGame(); | |
string GetGuess(); | |
bool AskToPlayAgain(); | |
// The entry point for our application | |
int main() | |
{ | |
bool bPlayAgain = false; | |
do | |
{ | |
PrintIntro(); | |
PlayGame(); | |
bPlayAgain = AskToPlayAgain(); | |
} | |
while (bPlayAgain); | |
return 0; // Exit the application | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment