Cody

Problem 42533. Calculate volume of box

Solution 1153078

Submitted on 4 Apr 2017 by H M Dipu Kabir
  • Size: 10
  • This is the leading solution.
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))

ans = []

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

ans = []

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!