Question: visual basic, Area of Circle ( Do until loop ) When the user clicks the Run button, your click - event should perform the following:

visual basic,
Area of Circle (Do until loop) When the user clicks the Run button, your click-event should perform the following: a. Display an input box that asks the user to enter the radius of a circle. b. Use a Do While loop to ensure that the radius entered by the user is larger than zero. If the radius entered by the user is negative or zero, display a message that reads Radius must be larger than zero. When the user clicks Ok, display the input box again and ask the user to enter the radius of a circle. The Do While loop should repeat until the user enters a radius that is larger than zero. c. Use the formula area = PI * radius * radius to calculate the area of the circle, and display the area in TextBox1. Use the value 3.14159265 for PI.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!