numfmt 4 0
for n = 2 to 5
   write n & ": "
   for root = 0 to n - 1
      real = cos (360 * root / n)
      imag = sin (360 * root / n)
      write real & " " & imag & "i"
      if root <> n - 1
         write ", "
      .
   .
   print ""
.
