Given the number of sides of a regular polygon, find the sum of interior angles.
Return 0 for input for which regular polygon are not defined.
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers41
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
52873 Solvers
-
Select every other element of a vector
36311 Solvers
-
Swap the first and last columns
22594 Solvers
-
Calculate the area of a triangle between three points
3424 Solvers
-
Test Problem; Create a 5x5 array containing all ones
405 Solvers
More from this Author8
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
A good test for the suite would be [0, -2, 3, 0, 10, pi]