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

2 Solutions

2 Solvers

Last Solution submitted on Jun 13, 2026

Last 200 Solutions

Solution Comments

Show comments
Loading...

Problem Recent Solvers2

Suggested Problems

More from this Author18

Problem Tags

Community Treasure Hunt

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

Start Hunting!