Cody

Solution 2002281

Submitted on 4 Nov 2019
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
r = 2; y_correct = 16; assert(isequal(area_sqr(r),y_correct))

Error in solution: Line: 2 Column: 8 Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses.

2   Fail
r = 3; y_correct = 36; assert(isequal(area_sqr(r),y_correct))

Error in solution: Line: 2 Column: 8 Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses.

3   Fail
r = 25; y_correct = 2500; assert(isequal(area_sqr(r),y_correct))

Error in solution: Line: 2 Column: 8 Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses.