Answer to Question #292199 in Visual Basic for Lam

Question #292199

Write a visual basic code to find the circumference of a circle with a user defined radius

1
Expert's answer
2022-02-01T13:58:01-0500
Module Module1
    Sub Main()
        Console.Write("Enter a radius of a circle: ")
        Dim radius As Double = Double.Parse(Console.ReadLine())
        Dim circumferenceCircle As Double = 2 * Math.PI * radius
        Console.WriteLine("Circumference of a circle : {0}", circumferenceCircle)
        Console.ReadLine()
    End Sub
End Module

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS