Problem 2681. Box!

Solution 2617399

Submitted on 26 Jun 2020
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   Fail
x = 1; y_correct = 1; assert(isequal(Volume_Of_A_Box(x),y_correct))

Unrecognized function or variable 'a'. Error in Volume_Of_A_Box (line 2) ans = a^3; Error in Test1 (line 3) assert(isequal(Volume_Of_A_Box(x),y_correct))

Suggested Problems

Community Treasure Hunt

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

Start Hunting!