IN VISUAL BASIC:
write a program that allows a user to select either asphere, cylinder, or cube and choose whether they want the surfacearea or volume of it.
this must be done using input boxes and functions. twotext boxes for the user to enter these.
if then else statements for the decision as well.
calculations must be defined as functions, thereshould be 6.
define pi as a global class variable
formulas are nothing different, just the sa and v ofshapes
output into a listbox please
thank you
Solution
Note: Done accordingly. Please comment for any problem. PleaseUprate. Thanks.
Download code
OR
OR