format
This commit is contained in:
parent
e8225ad9af
commit
24e2aca31e
@ -220,8 +220,7 @@ int main(int argc, char *argv[]) {
|
|||||||
} while (!hasWon && !hasLost);
|
} while (!hasWon && !hasLost);
|
||||||
|
|
||||||
const char *out = hasWon ? "congratulations! You've won! 🎉" : "you lost.";
|
const char *out = hasWon ? "congratulations! You've won! 🎉" : "you lost.";
|
||||||
std::cout << "The word was '" << dictionary[0] << "', " << out
|
std::cout << "The word was '" << dictionary[0] << "', " << out << std::endl;
|
||||||
<< std::endl;
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user