Write a MATLAB function that accepts two integer numbers. If the product of the two numbers is less than or equal to 1000, return their product; otherwise, return their sum.

Solution Stats

10 Solutions

8 Solvers

Last Solution submitted on Jun 24, 2026

Last 200 Solutions

Solution Comments

Show comments
Loading...

Problem Recent Solvers8

Suggested Problems

More from this Author30

Problem Tags

Community Treasure Hunt

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

Start Hunting!