Dog years
Tue Jun 28 2022 21:35:17 GMT+0000 (Coordinated Universal Time)
Saved by
@cruz
#javascript
let myAge = 25;
let earlyYears = 2;
earlyYears *= 10.5;
let laterYears = (myAge-2);
console.log(laterYears);
console.log(earlyYears);
laterYears *= 4;
console.log(laterYears);
let myAgeInDogYears= (laterYears + earlyYears);
console.log(myAgeInDogYears);
let myName = "Sequan".toLowerCase();
console.log(`My name is ${myName}. I am ${myAge} years old in human years which is ${myAgeInDogYears} years old in dog years. `)
content_copyCOPY
Comments