From 969b919018df9c2a2b9cb010ced999c7d77e69b3 Mon Sep 17 00:00:00 2001 From: Izzy Johnston Date: Mon, 4 Mar 2013 11:41:59 -0500 Subject: [PATCH] Fixing the year to reflect reality. --- class1/exercise1/javascript.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);