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 Solvers40
Suggested Problems
-
Project Euler: Problem 2, Sum of even Fibonacci
2823 Solvers
-
Find the largest value in the 3D matrix
1660 Solvers
-
566 Solvers
-
397 Solvers
-
Calculate Amount of Cake Frosting
28947 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]