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 Solvers55
Suggested Problems
-
3996 Solvers
-
218 Solvers
-
"Low : High - Low : High - Turn around " -- Create a subindices vector
517 Solvers
-
Area of an equilateral triangle
5541 Solvers
-
Find Factrorial without using built-in function
130 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!