in the section TripleX, there is a part that I am sooo curious about.
From Line 29 to Line 31, I added the cout for all the answer because I want to test the game’s winning part by knowing the answer immediately and type the answers to test the game.
But the problem is… when I play it, it doesn’t print them out, instead, the game runs normally but the “Cheat” doesn’t work.
I really wonder why, as the AnsSum and the AnsProduct can be printed out perfectly fine, why the “Cheat” cannot be printed out?
TripleX cout question.zip (1.0 KB)