Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 965 Bytes

File metadata and controls

16 lines (14 loc) · 965 Bytes

JS Basics Partner Lab 1

Description

You will pair program with a partner to complete this assignemnt. One partner, the driver, should share their screen and be the one typing. The other partner, the observer, should review each line of code. Both partners should be cooperating when solving problems. When an objective has been met, the driver should push the code to the GitHub account, the observer should pull the changes, and the two partners switch roles.

Problems

  1. Ask the user for two numbers, divide the first by the second, and display the result.
  2. Ask the user to enter a number. Display the following:
    • "Fizz" if the number is divisble by three
    • "Buzz" if the number is divisable by five
    • "FizzBuzz" if the number is divisable by both
  3. Generate a number between 1-10. Ask the user to guess the number and display if the user guessed correctly or not.