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 Solvers56
Suggested Problems
-
How to find the position of an element in a vector without using the find function
2696 Solvers
-
253 Solvers
-
Make an awesome ramp for a tiny motorcycle stuntman
610 Solvers
-
247 Solvers
-
321 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!