matlab 1) use the switch/case structure to solve these problems: a) write a program that reads two
Fantastic news! We've Found the answer you've been seeking!
Question:
matlab
1) use the switch/case structure to solve these problems:
a) write a program that reads two integers from the user. then your program should display a message indicating which number is larger. b) create a program to prompt the user to enter the number of candy bars he likes to buy. the input will be a number. use the switch/case to determine the bill, where
1 bar -- 0.75$ 2 bars-- 1:25$ 3 bars-- 1.65$ more than 3 bars=1.65$+0.30$(number ordered -3)
Posted Date: