Browse Source

commit 4

master
Steven Vda 2 years ago
parent
commit
6f37bec45b
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      variables.js

+ 2
- 1
variables.js View File

@@ -21,4 +21,5 @@ let milesToMoon = DISTANCE_TO_MOON_KM * MILES_PER_KM;
let hoursToMoon = milesToMoon / shuttleSpeedMph;
let daysToMoon = hoursToMoon / HOURS_PER_DAY;

console.log(shuttleName + ' will take ' + daysToMoon + ' days to reach Moon.');
console.log(shuttleName + ' will take ' + daysToMoon + ' days to reach Moon.');


Loading…
Cancel
Save