You have been hired by an engineering company to develop software to perform advanced geometric calculation. Your new boss asked you to develop an application that allows engineers to calculate the surface area and the volume of a sphere. For this, you will need to use the following formulas.
Surface Area = 4 * p * r2
Volume = 4/3 * p * r3
Remember p is equal to 3.14.
Allow the user to enter one value in the application (i.e., the radius value).
Use NumericUpdown controls to allow the user to enter the values.
Display the result in a text box and set it as read-only.
Make the Calculate button the Accept button.
Create a Clear button to clear the result text box and reset both NumericUpdown controls.
Create an Exit button.
Use labels to identify the input and output controls.
Create a radio button group that will allow the user to choose which calculation to perform in the application (surface area or volume).
Use a group box to enclose the radio buttons.
Use labels to identify the output control and change the label text value according to the radio button selected.
This is a VB.NET application to calculate the surface area and volume of a sphere. This application uses a GUI interface consisting of several controls to take input from the user. This solution is provided in a .rar, .sln and .vbproj formats.