Cody

Problem 42533. Calculate volume of box

Solution 2285347

Submitted on 16 May 2020 by Duhan Hamit OKTAR
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!