126k views
0 votes
Print a message telling a user to press the letterToQuit key numPresses times to quit. End with newline. Ex: If letterToQuit = 'q' and numPresses = 2, print:

Print a message telling a user to press the letterToQuit key numPresses times to quit-example-1
User Dinei
by
6.9k points

1 Answer

5 votes

You can find in the photo. Good luck!

Print a message telling a user to press the letterToQuit key numPresses times to quit-example-1
User Tomek
by
6.6k points