Cody

Solution 1217885

Submitted on 22 Jun 2017 by Joao Vitor Monteiro Lopes
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