Edit a program and see the result as you type. Execution stays in your browser.
Use a short-circuit boolean expression to check a divisor before evaluating a ratio.