Cody

Solution 1981846

Submitted on 18 Oct 2019 by shaikh akbar shaikh rasul
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))

flag = logical 0 a = 3 4 6 flag = logical 1

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

flag = logical 0 a = 6 4 3 flag = logical 1

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

flag = logical 0 a = 3 7 4

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

flag = logical 0 a = 4 3 7

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

flag = logical 0 a = 3 3 4 flag = logical 1