Please correct the assignment you were helping me on with C++. It is only 50% correct. I have attached the incorrect parts.
I have the outputs of both programs. The one marked with a black border is the sample program that I have and displays the correct results.
The output that is marked with the red border is from the program you helped me with, but it is incorrect at parts:
Your program does not run test0 ; I get an error
for test3, all the results are incorrect, while test 1 and 2 need a few adjustments.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
29 | 30 | 1 | 2 | 3 | 4 | 5 |
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 | 1 | 2 |