Given the length, base, and height of a cuboid. The task is to find the Surface Area, Volume and space diagonal of the cuboid.
Input : length = 9 bradth = 6 height = 10 Output : Surface area = 408 volume = 540 space diagonal = 14.73 Input : length = 5 breadth = 4 height = 3 Output : surface area = 94 volume = 60 space diagonal = 7.07
- Surface Area =
- Volume =
- Spacle diagonal =
Below is the implementation.
408 540 14.730919862656235
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course. And to begin with your Machine Learning Journey, join the Machine Learning – Basic Level Course