VB.Net program to calculate the area of the circle
'VB.Net program to calculate the area of the circle.
Module Module1
Sub Main()
Dim radius As Single = 0.0F
Dim area As Single = 0.0F
Console.Write("Enter the radius:")
radius = Single.Parse(Console.ReadLine())
area = 3.14F * radius * radius
Console.WriteLine("Area of Circle: {0}",area)
End Sub
End Module
Output
Enter the radius:5.2
Area of Circle: 84.90559
Press any key to continue . . .
Table of Contents