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
-
Set the array elements whose value is 13 to 0
1439 Solvers
-
Is this triangle right-angled?
6561 Solvers
-
Rounding off numbers to n decimals
5524 Solvers
-
398 Solvers
-
Sum the squares of numbers from 1 to n
259 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]