Skip to content

TajanaeB/JS-Basics-Partner-Lab-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

JS Basics Partner Lab 2

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

Note: Use const to hold any values that should not change

  1. Generate two random numbers, ask the user to calculate the sum of the numbers, and display if they got it right or not.
  2. Ask the user for a radius and calulate and display the area of a circle with that radius. If the user enters a negative number, provide them with a warning message and do not calculate the answer.
  3. Ask the user for their weight and height and calculate their BMI. Display both the number value and the range they fall in. Example: BMI: Healthy

Happy Hacking!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors