Here is a sample run of this program, assuming that the executable file is called match and hit. This run illustrates a situation where the human player wins the game. User input is bolded.
/home/userXYZ/ECE15/Lab3> match_and_hit
Welcome to the MATCH and HIT game
The computer has selected a 4-digit number.
Try to deduce it in 12 rounds of queries.Round #1
Please enter your query (4 digits): 5341 <---(this number should be underlined)
.......
I can't figure out how to underline the user input. Any help would be greatly appreciated.
-characters on the next row? - Karoly Horvath