Skip to content

Commit

Permalink
Fixing the year to reflect reality.
Browse files Browse the repository at this point in the history
  • Loading branch information
izzyjohnston committed Mar 4, 2013
1 parent ec0fed3 commit 969b919
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions class1/exercise1/javascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
alert("You will need " + total + " to last you until the ripe old age of " + oldAge);

0 comments on commit 969b919

Please sign in to comment.