Blue Yonder Interview Question

Write a code to find volume of given room