Write a loop that asks the user, Do you want to repeat the program or quit? (R/Q).

Question:

Write a loop that asks the user, “Do you want to repeat the program or quit? (R/Q)”. The loop should repeat until the user has entered an R or Q (either upper case or lowercase).

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: