Question: Nithya has to develop an application to find volume of a rectangle. The application should display the volume when the width height and length ot rectangle are 1) Integer valuas 2) Double values J) width-integer value, height
Integer value, length double value Formula: Volume = Length - Helght Width, or V-L'H* W Hint usa method overloading to overload the method volume)
Answer Your Question
Answers
Answered by
0
Explanation:
Cuboid is a 3-dimensional box-like figure represented in the 3-dimensional plane.Cuboid has 6 rectangled-shape faces. Each face meet another face at 90 degree each.Three sides of cuboid meet at same vertex.Since it is made up of 6 rectangle faces, it have length, width and height of different dimension.
cuboid
Examples :
Input : 2 3 4
Output : Area = 24
Total Surface Area = 52
Input : 5 6 12
Output : Area = 360
Total Surface Area = 324
Similar questions