dev-serum
Search...
Ctrl
K
Data Structures & Algorithms
Coding Challenges
Codewars
7kyu
Sum of angles
Previous
Gauß needs help! (Sums of a lot of numbers).
Next
Sum of Triangular Numbers
Last updated
4 years ago
Was this helpful?
Solution
JavaScript
Copy
const angle = (n) => (n - 2) * 180;
Sum of angles
Codewars