Write a complete Java program that asks the user to input the radius (r) and the height (h) of a Cylinder. Your program should compute and display the Surface and Volume. The Cylinder Surface = 2 xn...


Write a complete Java program that asks the user to input the radius (r) and the height (h) of a<br>Cylinder. Your program should compute and display the Surface and Volume.<br>The Cylinder<br>Surface = 2 xn xr x h<br>%3D<br>Volume = n x r² × h<br>Notes:<br>Tn should be defined as named constant equal to 3.14159<br>Your program should follow the Sample Input/ Output given below.<br>Sample Input/ Output<br>Enter the radius (r) and height (h): 3.5 4.7<br>Surface = 103.358311<br>%3D<br>Volume 180.8770<br>

Extracted text: Write a complete Java program that asks the user to input the radius (r) and the height (h) of a Cylinder. Your program should compute and display the Surface and Volume. The Cylinder Surface = 2 xn xr x h %3D Volume = n x r² × h Notes: Tn should be defined as named constant equal to 3.14159 Your program should follow the Sample Input/ Output given below. Sample Input/ Output Enter the radius (r) and height (h): 3.5 4.7 Surface = 103.358311 %3D Volume 180.8770

Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here