Exercise: Translate

You will be translating formulas into code in this exercise.

Task

A mathematician reached out to us for help. He needs help translating his equations in JavaScript. Every time he tries to do it, the code gives the wrong output. Your task is to help him translate the problems into JavaScript. Good luck!

Problem statements

In this exercise, you convert a series of word problems or equations into JavaScript ...