JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Skip to content
Gallery
Puzzle #9: Calculator
Puzzle #9: Calculator
Bonus Challenges
More
Share
Explore
Puzzle #9: Calculator
As a tribute to the old school, can you build a Calculator?
C
Coda
As a tribute to the old school, can you build a Calculator? It should support all 4 operators (+ - x /).
Difficulty: Hard
For example: "408+3897=" should result in 4305, “12-35=” should result in -23, “9x16=” should result in 144, "36/9=" should result in 4 and so on.
Looking for a bigger challenge?
Try the
https://coda.io/d/Puzzle-8_d2Sfr0GCVEL/Bonus-Challenges_suKqU#_lutK-
to add more calculator functions.
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
Ctrl
P
) instead.