Lab JS2 : JavaScript Programs

Use the JavaScript Sandbox to write the programs below.
JavaScript online sandbox: https://codehs.com/explore/sandbox/javascript




PROGRAM 1:
Write a program that prompts the user for their height in feet and inches. Compute and display their height in inches

Use your program to verify the following :

Execution 1:
        For a height of 5 feet and 5 inches
        You are 65 inches tall.

Execution 2:
        For a height of 6 feet and 3.5 inches
        You are 75.5 inches tall.

Execution 3:
        For a height of 1 feet and 11 inches.
        You are 23 inches tall.