Parse and evaluate expressions like these:
'1 + 2' '51 - 78' '42 * 9'
The only operators are +, -, *.
Both arguments will be integers between -50 and 50.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers26
Suggested Problems
-
506 Solvers
-
Construct a string from letters and counts
147 Solvers
-
576 Solvers
-
Getting the indices from a matrix
734 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1284 Solvers
More from this Author2
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!