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 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
Get step-by-step solutions from verified subject matter experts
