Cody

Solution 1765696

Submitted on 28 Mar 2019 by Gasper Umbreht
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))

X = 3 4 6 Y = 3 4 6 x = 6 flag = logical 1

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

X = 6 4 3 Y = 3 4 6 x = 6 flag = logical 1

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

X = 3 7 4 Y = 3 4 7 x = 7 flag = logical 0

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

X = 4 3 7 Y = 3 4 7 x = 7 flag = logical 0

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

X = 3 3 4 Y = 3 3 4 x = 4 flag = logical 1