This commit is contained in:
Love 2024-09-05 21:40:28 +02:00
parent dcb10a1eb7
commit 21854f7157

View File

@ -220,8 +220,7 @@ int main(int argc, char *argv[]) {
} while (!hasWon && !hasLost);
const char *out = hasWon ? "congratulations! You've won! 🎉" : "you lost.";
std::cout << "The word was '" << dictionary[0] << "', " << out
<< std::endl;
std::cout << "The word was '" << dictionary[0] << "', " << out << std::endl;
return 0;
}