'Ingresar el diámetro de un círculo y devuelve su radio y área
TextWindow.Write("Ingresar el diámetro del círculo: " )
dia=TextWindow.Read()
ra=dia/2
ar=(ra*ra)*Math.Pi
TextWindow.Write("El radio del círculo es: " )
TextWindow.WriteLine(ra)
TextWindow.WriteLine(" " )
TextWindow.WriteLine(" " )
TextWindow.WriteLine(" " )
TextWindow.WriteLine("El área del círculo es de: " )
TextWindow.Write(ar)
TextWindow.WriteLine(" " )
TextWindow.WriteLine(" " )
TextWindow.WriteLine(" " )
TextWindow.Write("Ingresar el diámetro del círculo: " )
dia=TextWindow.Read()
ra=dia/2
ar=(ra*ra)*Math.Pi
TextWindow.Write("El radio del círculo es: " )
TextWindow.WriteLine(ra)
TextWindow.WriteLine(" " )
TextWindow.WriteLine(" " )
TextWindow.WriteLine(" " )
TextWindow.WriteLine("El área del círculo es de: " )
TextWindow.Write(ar)
TextWindow.WriteLine(" " )
TextWindow.WriteLine(" " )
TextWindow.WriteLine(" " )