Question: Please help! I've been struggling with this question for sometime, any and all advice is very much welcome. Thank you! 3.21 Chapter 3 Decision Program

Please help! I've been struggling with this question for sometime, any and all advice is very much welcome.

Thank you!

Please help! I've been struggling with this question for sometime, any and

3.21 Chapter 3 Decision Program Ask your user to enter an A or a B as follows: Enter option: A or B Allow the user to enter both uppercase and lowercase letters. If an A or a B is not entered, display an error message as follows: Sorry, you should have entered A or B When an A has been entered, ask the user to enter a positive numeric value. Display 50% of that value. The following assumes that the entries are A and 54.50: Enter option: A or B Enter a positive amount for Option A 50% of 54.5 is 27.25 If a positive number has not been entered, display an error message, such as: Invalid amount should enter a number more than If the option entry is a B, perform similar operations, but the entered value is to be negative. The solution that you program is being checked against has used printin0 and not print0 throughout the code

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 Databases Questions!