Cody

Solution 2040890

Submitted on 1 Dec 2019 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
assert(isequal(Is_Triangle(3,4,6),true))

A1 = 3 4 A2 = 6 flag = logical 1

2   Pass
assert(isequal(Is_Triangle(6,4,3),true))

A1 = 4 3 A2 = 6 flag = logical 1

3   Pass
assert(isequal(Is_Triangle(3,7,4),false))

A1 = 3 4 A2 = 7 flag = logical 0

4   Pass
assert(isequal(Is_Triangle(4,3,7),false))

A1 = 4 3 A2 = 7 flag = logical 0

5   Pass
assert(isequal(Is_Triangle(3,3,4),true))

A1 = 3 3 A2 = 4 flag = logical 1