Cody

Solution 1659612

Submitted on 25 Oct 2018 by Rafael Hernandez-Walls
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
x = 1; A = 1; assert(isequal(sq_area(x),A))

ans = 1

2   Pass
x = 2; A = 4; assert(isequal(sq_area(x),A))

ans = 4

3   Pass
x = 6; A = 36; assert(isequal(sq_area(x),A))

ans = 36

4   Pass
x = 8; A = 64; assert(isequal(sq_area(x),A))

ans = 64

Suggested Problems