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
-
14044 Solvers
-
Find the numeric mean of the prime numbers in a matrix.
9121 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2530 Solvers
-
Convert a vector into a number
613 Solvers
-
126 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!