7 kyu

Dangerous Dates

Description:

Fix this function so that it correctly outputs a list of the next five days (starting after the input date). Each date should be in the format M/D/YYYY. i.e. March 12th 2013 would be 3/12/2013.

Example output: "3/14/2013, 3/15/2013, 3/16/2013, 3/17/2013, 3/18/2013"

There's a hard way to do this and there's a right way.

Date Time
Debugging

More By Author:

Check out these other kata created by ninjascience

Stats:

CreatedJun 19, 2014
PublishedJun 19, 2014
Warriors Trained1640
Total Skips109
Total Code Submissions13022
Total Times Completed704
JavaScript Completions704
Total Stars22
% of votes with a positive feedback rating86% of 114
Total "Very Satisfied" Votes90
Total "Somewhat Satisfied" Votes16
Total "Not Satisfied" Votes8
Ad
Contributors
  • ninjascience Avatar
  • xcthulhu Avatar
Ad