Question: For the drink program in the tutorial, which code segment would enable correcting for further processing an entry error of all lower case letters (
For the drink program in the tutorial, which code segment would enable correcting for further processing an entry error of all lower case letters eg water
a
drinkDetails
drink inputWhat type of drink would you like to order?
Water
Coffee
Tea
Enter your choice: capitalize
b
drinkDetails
drink inputWhat type of drink would you like to order?
Water
Coffee
Tea
Enter your choice:
drink.capitalize
c
drinkDetails
drink inputWhat type of drink would you like to order?
Water
Coffee
Tea
Enter your choice: upper
d
drinkDetails
drink inputWhat type of drink would you like to order?
Water
Coffee
Tea
Enter your choice:
strtitledrink
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
