Problem 43283. Subtract integers and add doubles

Create a function that subtracts b from a if a and b are integers and adds them if they are floats.

Solution Stats

34.91% Correct | 65.09% Incorrect
Last Solution submitted on Feb 15, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers89

Suggested Problems

More from this Author14

Community Treasure Hunt

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

Start Hunting!