Is this triangle right-angled? - MATLAB Cody - MATLAB Central

Problem 2021. Is this triangle right-angled?

Difficulty:Rate
Given three positive numbers a, b, c, where c is the largest number, return true if the triangle with sides a, b and c is right-angled. Otherwise, return false.

Solution Stats

66.9% Correct | 33.1% Incorrect
Last Solution submitted on Mar 16, 2025

Problem Comments

Solution Comments

Show comments

Group

CUP Challenge Image
CUP Challenge
  • 11 Problems
  • 4037 Finishers

Problem Recent Solvers5962

Community Treasure Hunt

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

Start Hunting!
Go to top of page