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 the sum of all the numbers of the input vector
55160 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2582 Solvers
-
Number of 1s in a binary string
11495 Solvers
-
389 Solvers
-
Find out total non zero element of matrix
288 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]