Курсовая работа: Інтерактивна система навчання для вивчення англійської мови
void continueProgram() // Gives user option to continue or quit
{
delay(5000);
clrscr(); // Clears the screen
cout << "Please enter your FIRST name ONLY: ";
cin >> yourName;
delay(500);
clrscr();
cout << "Hello, " << yourName << ". Welcome to...\n";
delay(2000);
cout << "3. 1025 4. 1015\n";
cout << numberOfAnswer;
cout << numberOfAnswer2;
cin >> yourAnswer;
if (yourAnswer == 4)
{
cout << goodAnswer03;
delay(3000);
correctAnswers++;
score = 250000;
}
if (yourAnswer == 1 || yourAnswer == 2 || yourAnswer == 3)
{
cout << badAnswer03;
delay(3000);
score = 32000;
walkAway();
return 0;
}