This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
x = 8;
w = 3;
y_correct = 22;
assert(isequal(perimeter(x, w),y_correct))
y =
22
|
2 | Pass |
x = 10;
w = 7;
y_correct = 34;
assert(isequal(perimeter(x, w),y_correct))
y =
34
|
Project Euler: Problem 2, Sum of even Fibonacci
835 Solvers
232 Solvers
Back to basics 8 - Matrix Diagonals
781 Solvers
401 Solvers
429 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!