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

67.17% Correct | 32.83% Incorrect
Last Solution submitted on May 10, 2025

Problem Comments

Solution Comments

Show comments
LLMs with MATLAB updated to support the latest OpenAI Models
Large Languge model with MATLAB, a free add-on that lets you access...
2
3

Group

CUP Challenge Image
CUP Challenge
  • 11 Problems
  • 4141 Finishers

Problem Recent Solvers6106

Community Treasure Hunt

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

Start Hunting!
Go to top of page