Microsoft Small Basic

Program Listing: MVB809
' Sample Code for Math.Pi and Math.Power()
While "True"
TextWindow.Write("Radius? ")
r = TextWindow.Read()
c = 2 * Math.Pi * r
a = Math.Pi * Math.Power(r, 2)
TextWindow.WriteLine("Circumference of the circle = " + c)
TextWindow.WriteLine("Area of the circle = " + a)
EndWhile