Problem 2555. Do operation as per given string
Do operation as per given string
Example: '3*5' then answer must be 15;
'3+5' then answer must be 8;
'35' then answer must be 35;
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers57
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
48154 Solvers
-
Which values occur exactly three times?
5060 Solvers
-
Getting the indices from a vector
9217 Solvers
-
507 Solvers
-
619 Solvers
More from this Author70
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!