diff --git a/class1/exercise1/javascript.js b/class1/exercise1/javascript.js index 85657a8..b8bfb45 100644 --- a/class1/exercise1/javascript.js +++ b/class1/exercise1/javascript.js @@ -2,6 +2,6 @@ var age = 26; var oldAge = 96; var perDay = 2; -var days = (oldAge - age) * 356; +var days = (oldAge - age) * 365; var total = perDay * days; -alert("You will need " + total + " to last you until the ripe old age of " + oldAge); \ No newline at end of file +alert("You will need " + total + " to last you until the ripe old age of " + oldAge);