Question: Create a java program, anyone who can help me solve this problem? Pre-Lab (10 POINTS]: Create a Java program called VolumeOfTriangular Prism which asks the
Create a java program, anyone who can help me solve this problem?
Pre-Lab (10 POINTS]: Create a Java program called VolumeOfTriangular Prism which asks the user to enter the base, height, and length of the prism, stores the values in three double variables, calculates the volume of the cone using the base, height, and length, and displays the volume to the user. Note: V = (base x height x length)/2 A sample output is provided below where user input is highlighted in yellow. Sample output Enter the following values in centimeters - Base of the triangle: 19 Height of the triangle: 24 Length of the prism: 47 For base = 19.00 cm, height = 24.00 cm, and length = 47.00 cm, the volume of the triangular prism: 10716.00 cm3
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
