Cody

Solution 1803552

Submitted on 2 May 2019 by Beatriz Orozco
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))

d = 3 4 6 d = 3 4 6 flag = logical 1

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

d = 6 4 3 d = 3 4 6 flag = logical 1

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

d = 3 7 4 d = 3 4 7 flag = logical 0

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

d = 4 3 7 d = 3 4 7 flag = logical 0

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

d = 3 3 4 d = 3 3 4 flag = logical 1

Suggested Problems

More from this Author2