Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Exercises: Simple Calculator

Write a script that will ask for a number, an operator (+,*,-,/) and another number. Compute the result and print it out.