Problem 42533. Calculate volume of box

Solution 2256550

Submitted on 5 May 2020 by Muhammad Usman
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
a = 1; b=2; c=3; y_correct = 6; assert(isequal(vol(a,b,c),y_correct))

y = 6

2   Pass
a = 6; b=5; c=3; y_correct = 90; assert(isequal(vol(a,b,c),y_correct))

y = 90

Suggested Problems

More from this Author5

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!