314,157 views
3 votes
3 votes
Program 4.Write the line of code to output the circumference of the circle on line 6.

1. ModuleModule
2. Sub Main()
3.const PI=3.14149
4. Dim radius Assingle
5. radius=14
6 .
7.Console.ReadKey()
8. EndSub
9. EndModule​

User Steve Lovell
by
2.8k points

1 Answer

21 votes
21 votes

Answer:

Console.WriteLine("The circumference is " & 2 * PI * radius)

Step-by-step explanation:

This will output:

The circumference is 87.96172

User Vili
by
3.1k points