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
-
Convert a vector into a number
594 Solvers
-
558 Solvers
-
272 Solvers
-
Replace odd number in given matrix by zero
140 Solvers
-
Determine the Anti-diagonal of a Magic Square
108 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!