Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (1+1)*((2+1)*3)
- 1. Search first (, if none found stop method
- 2. From there on search for ( and )
- 3. If ( is found repeat from on line 2
- 4. If ) is found solve content and delete brackets
- 5. repeat from step one
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement