GAMES IN PROGRESS
Latest Videos
Home
/
Indie Game Developers
/
Block Programming
/
8# Finding Sum of Polygon Angles | Scratch Coding Practices & challenging Tasks

8# Finding Sum of Polygon Angles | Scratch Coding Practices & challenging Tasks

2 min
Given an n-sided regular polygon n, return the total sum of internal angles (in degrees). Examples sumPolygon(3) ➞ 180 sumPolygon(4) ➞ 360 sumPolygon(6) ➞ 720 Notes n will always be...