-
-
Save codecademydev/6e32430432dd85c1d4ec915f2a858f72 to your computer and use it in GitHub Desktop.
Codecademy export
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//my current age | |
const myAge = 30; | |
//early Years | |
let earlyYears= 2; | |
earlyYears *= 10.5; | |
let laterYears = myAge-2; | |
laterYears *=4; | |
console.log(laterYears); | |
console.log(earlyYears); | |
//my age in dog years | |
let myAgeInDogYears= earlyYears + laterYears; | |
//my name and age in dog years | |
let MyName = "Enikardie".toLowerCase(); | |
console.log(`My name is ${myName}. I am ${myAgeInDogYears} years old in dog years.`); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment