I am working on my final programming project and I am stuck. My code runs with no errors, but my output is wrong.
When you look at the code you are going to wonder why I am not using a calendar function that is built in and the answer is I am not allowed to.
When you run my code you get 3 options.
Option 1 allows you to choose a day of the week.
It will tell you the next day, the previous day, and then it will ask you to input how many days in advance you want it to be.
If I recall right on option 1 when you enter in the advance days it never returns the correct day.
Option 2 is my testing option. It has a static day set (Sunday).
Here is the output:
As you can see from the photo adding 9 days, previous day, and add 3 days is totally wrong. EDIT: I actually just realized I uploaded the wrong screen capture. This photo is right.
I was hoping someone could help me out with this as I have been racking my head on it for the last couple days.
I have uploaded my code to Google Docs here: https://docs.google....dit?usp=sharing
Thanks for any help!