Question 7:
Write a menu driven program(switch( case) in java to find the volume, total
surface area and Diagonal of a cuboid as per the users choice. Take length(1),
breadth(b) and height(h) as inputs.
Volume=1*b*h
Total Surface area = 2 * ((1* b) + (b * h) + (1 * h))
Diagonal = V1 +62 +h2
Example:
For volume enter 1
For Total surface area enter → 2
For diagonal enter 3
Answers
Answered by
0
Answer:
ha yeah....................
.......
Similar questions