Find the Oldest Person in a Room - MATLAB Cody - MATLAB Central

Problem 44947. Find the Oldest Person in a Room

Difficulty:Rate

Given two input vectors:

  • name - user last names
  • age - corresponding age of the person

Return the name of the oldest person in the output variable old_name.

Solution Stats

36.09% Correct | 63.91% Incorrect
Last Solution submitted on May 08, 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

Problem Recent Solvers18644

Suggested Problems

More from this Author13

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