Problem 42533. Calculate volume of box

Solution 721214

Submitted on 25 Aug 2015 by mawlndjr xslkveal
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))

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

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!