Question: Is there anyone that can please help me with this Matlab problem? Thanks in advance. Write a program that uses menu to select a type

Is there anyone that can please help me with this Matlab problem? Thanks in advance.

Write a program that uses menu to select a type of figure "( triangle, square, pentagon, hexagon,heptagon,and octagon)" and the uses switch/case to determine the value of n. After you have n, the program returns nicely formatted sentence that includes the name of the figure , the number of side, and the sum of the interior angles. Test all six cases!

Is there anyone that can please help me with this Matlab problem?

In order to have a closed geometric figure composed of straight lines, the angles in the figure must add up to: sum of angles (n-2) (180 degrees) where n is the number of sides

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!