Cloud Stack Ninja

I need help making a program that prints all consecutive dates. My program has two functions

    void print_consecutive_days(int num, int delay_ms)

And

    bool is_leap_year(int year)

I am allowed to use any helper functions but cout can only be used in void print_consecutive_days The program should print from

    6(0sun-6sat) 1(month) 1(day1-31ex) 2000(year)

The code should end with 7581 lines and should look like this

   6 1 1 2000
   ...
   5 10 2 2020

I have tried so many times to do this but i have not gotten close to figuring it out. I need this to be done as simply as possible. Thank you for your help.



Read more here: https://stackoverflow.com/questions/64396332/how-do-i-make-a-simple-c-program-that-prints-all-consecutive-dates

Content Attribution

This content was originally published by Abc123 at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: