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 Solvers58
Suggested Problems
-
find the maximum element of the matrix
515 Solvers
-
730 Solvers
-
Let's get back to school, and create multiplication tables
215 Solvers
-
Sort the vector with the given index
122 Solvers
-
Union of two set decreasing order
124 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!