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
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2538 Solvers
-
Sum of diagonal of a square matrix
1637 Solvers
-
Test if a number is numeric or not
141 Solvers
-
Back to Basics - Find no. of elements in a matrix?
327 Solvers
-
663 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]