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 Solvers42
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15815 Solvers
-
4011 Solvers
-
Project Euler: Problem 1, Multiples of 3 and 5
3728 Solvers
-
Find the sides of an isosceles triangle when given its area and height from its base to apex
2221 Solvers
-
204 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]