These all work how you might guess:
3 + 4 will equal
50 / 10 will equal
Let’s use each one of these math operators.
Inside of a
3.5 to your age.
This is the age you’ll be when we start sending people to live on Mars.
On a new line write another
console.log. Inside the new
console.log‘s parentheses, take the current year and subtract
The answer is how many years it’s been since the 1969 moon landing.
console.log, then divide
Create one last
console.log, then multiply the full answer from step 3 by
That’s the percent of the sun that is made up of helium. Assuming we could stand on the sun, we’d all sound like chipmunks!