FANDOM


CodeEdit

This is the source code for a particular script.

set n to text returned of (display dialog "How many sides does the shape have?" default answer "")
display dialog "Sum of the interior angles = " & 180*(n - 2)

Sum of Interior Angles

Results of running the Sum of Interior Angles script.