Код: Выделить всё
#include
#include
std::string correctText = "\nCorrect! +";
std::string incorrectText = "False!\n";
std::string answer = "paris";
bool correct = true;
int score;
void scoreSystem() {
if (correct == true) {
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79092341/how-to-change-a-bool-from-true-to-false-using-an-if-statement-that-has-user-inpu[/url]