Cody

Solution 1694399

Submitted on 17 Dec 2018 by James
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))

m = 6 s = 13 flag = logical 1

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

m = 6 s = 13 flag = logical 1

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

m = 7 s = 14 flag = logical 0

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

m = 7 s = 14 flag = logical 0

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

m = 4 s = 10 flag = logical 1