#include <iostream>
#include <cstdlib>
#include <ctime>
using namespace std;
const int choice_play = 1;
const int choice_quit = 2;
void randomNumberGame();
int difficultyMenu();
int playOrExit();
int randomNumberGenerator();
int done = 0;
int main()
{
bool stillPlaying = true;
int choice = 0;
choice = playOrExit();
while(choice == choice_play)
{
randomNumberGame();
choice = playOrExit();
} |