Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let myAge = 20;
- let earlyYears = 2;
- earlyYears *= 10.5;
- let laterYears = myAge - 2;
- laterYears *= 4;
- console.log(`Early Years: ${earlyYears}`)
- console.log(`Later Years: ${laterYears}`)
- let myAgeInDogYears = earlyYears + laterYears;
- let myName = "Thomas".toLowerCase();
- console.log()
- console.log(`My name is ${myName}. I am ${myAge} years old in human years, which is ${myAgeInDogYears} years old in dog years.`)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement