Share your repls and programming experiences

← Back to all posts
data and
JaclynMcElroy (0)

let date = "Monday 2019-03-2019"
let time = "10:05:34 AM"
let astronautCount = "7"
let astronautStatus = "ready"
let averageAstronautMassKg = "80.7"
let crewMassKg = "astronautCount * averageAstronautMassKg"
let fuelMassKg = "760,999"
let shuttleMassKg = "74842.31"
let totalMassKg = "crewMassKg + fuelMassKg + shuttleMassKg"
let fuelTempCelsius = "-225"
let fuelLevel = "100%"
let weatherStatus = "clear"

console.log("> LC04 - Launch Checklist");

console.log(date);
console.log(time);

console.log("> Astronaut Info");

console.log(" count: " + astronautCount);
console.log("
status: " + astronautStatus);

console.log("> FUEL DATE");

console.log (" Fuel temp celsius: " + fuelTempCelsius);
console.log("
Fuel level: " + fuelLevel);

console.log("> MASS DATA");

console.log(" Crew mass: " + crewMassKg);
console.log("
Fuel mass:" + fuelMassKg);
console.log(" Shuttle mass: " + shuttleMassKg);
console.log("
Toal mass: " + totalMassKg);

console.log("> FLIGHT PLAN");

console.log("* weather: " + weatherStatus);

console.log("> OVERALL STATUES");

console.log("* Clear for takeoff: " + astronautStatus);