Cody

Problem 43294. Can we make a triangle?

Solution 2516459

Submitted on 11 Jun 2020 by Rafael S.T. Vieira
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))

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

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

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

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

Suggested Problems

More from this Author2

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!