Question: please do this on matlab 6. Create a program to prompt the user to enter the number of candy bars he or she would like

please do this on matlab
6. Create a program to prompt the user to enter the number of candy bars he or she would like to buy. The input will be a number. Use the switch/case structure to determine the bil, where 1 bar = $0.75 2 bars $1.25 3 bars = $1.65 more than 3 bars-$1.65 + $0.30 (number ordered-3)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
