Can we make a triangle? - MATLAB Cody - MATLAB Central

Problem 43294. Can we make a triangle?

Difficulty:Rate

Given three positive number, check whether a triangle can be made with these sides length or not. remember that in a triangle sum of two sides should be greater than the third one. So with the lengths of 2,3 and 6 we can not make a triangle

Solution Stats

47.76% Correct | 52.24% Incorrect
Last Solution submitted on Mar 01, 2025

Problem Comments

Solution Comments

Show comments
Primes and Rough Numbers, Basic ideas
What is a rough number? What can they be used...
3
4

Problem Recent Solvers2069

Suggested Problems

More from this Author2

Problem Tags

Community Treasure Hunt

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

Start Hunting!
Go to top of page