You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.log(`by the year ${futureYear}, i'll be ${futureAge} years old \n\n`);
let currentAge = new Date().getFullYear() - birthYear;
let numOfDaysPerYear = 365;
let maxAge = 120;
let perDayUse = 2;
console.log(` Based on my daily intake of ${perDayUse} fruits, i will need ${(perDayUse * numOfDaysPerYear * maxAge) } fruits to last me until my ripe old age of ${maxAge} Year .`);