java programe find volume and surface area of a cone
Budjetti $30-40 USD
a. You are required to write a structured Java program in order to calculate the surface area and volume of a cone. The inputs such as radius and height must be entered by the users and the volume and surface area must be displayed on the screen.
b. No, you are required to write Java program for the above question using object oriented approach. follow the guide line given below..
You are required to write a class program named Calculate in order to calculate the surface area and volume of cone. The inputs such as radius and height must be entered by the users and the volume and surface area must be displayed on the screen. Include an appropriate number of member methods and constructor in your class. Then in another program that has the main () method, create one object of this Calculate class and invoke the methods available in the class. All the inputs must be captured interactively in this main () method.