Question: (SWITCH examples) HW1-2.Write a matlab program that takes a month and day value from a user. Then, program should give horoscope. Note: You should do

(SWITCH examples) HW1-2.Write a matlab program that takes a month and day value from a user. Then, program should give horoscope. Note: You should do this homework by using if (HW1) and switch structures (HW2). Example: Enter a day: 11 Enter a month: 5 11st day of 5th month is Taurus. HW3-4Write a matlab program that takes an option from a user and computer. Options are Stone, Paper and Scissors. Then, program should give result of the game. Note: You should do this homework by using if (HW3) and switch structures (HW4). (IF examples) Take grades for midterm and final exam. If grades are not in the interval of 0 and 100, write an error message. If so, calculate the average grade. Then, show the letter grade of average grade. 0 <= not < 60, F 60<= not < 70, D 70<= not < 80, C 80<= not < 90, B 90<= not <= 100, A Example: Enter your midterm mark: 75 Enter your final mark: 75 Average mark: 75.0000 75.0 is C Enter your midterm mark: 88 Enter your final mark: 93 Average mark: 90.5000 90.5 is A Enter your midterm mark: -10 Enter your final mark: 30 Wrong midterm mark.

examples must written with MATLAB programming

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!