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
-
Project Euler: Problem 10, Sum of Primes
2124 Solvers
-
Sum of first n terms of a harmonic progression
518 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14128 Solvers
-
374 Solvers
-
Area of an equilateral triangle
6911 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!