Exercise 2: Enhancement (40%)




Document: Software Engineering 1: Lab Exercises

next Session 5: Week 10/11: Ever Decreasing Circles...
up Session 4: Week 8/9: Quiz Time
gif Exercise 1: Correction (60%)

Exercise 2: Enhancement (40%)

The program mquiz0 will keep on repeating the question unless and until the user is inspired to give the correct answer.

Develop an enhanced version of this program, called mquiz1. This should behave in the same way as mquiz0, except that, if the user gives a wrong answer, the program should then ask whether the user wants to try again. If the user indicates that he or she does not want to continue then the program should exit (remarking "Good idea - `cos you don't know much about music, do you?").



McMullin@eeng.dcu.ie
Tue Apr 30 14:15:37 GMT 1996