Intro to JavaScript - Activity

Intro to JavaScript

Instructions:

Using only the Chrome Console, find the answers to the following problems! Note the statement you typed to get your result!

  1. 7482 divided by 281
  2. 3.14 times 5 divided by 3
  3. The remainder of 281 divided by 9 (You may need to look up the modulo operator)
  4. 18 divided by 0
  5. The remainder of 10 divided by 0 (You may need to look up the modulo operator)

Hint:

Check out the MDN documentation for arithmetic operators