Question: 4. For this question, duplicate your coffee orders program, and rewrite it as a new version with errorchecking. You must submit both questions, so don't

 4. For this question, duplicate your coffee orders program, and rewrite

4. For this question, duplicate your coffee orders program, and rewrite it as a new version with errorchecking. You must submit both questions, so don't change the other code. Your errorchecking should repeat until the user enters valid inputs. Note that this means you no longer assumefchoose the expensive option, because it won't be possibly to choose the colour "purple" or a wrong size. Rewrite your code constructs to take this into consideration effectively if needed

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!