I’m doing a programming course and they are teaching c++. I have an assignment I’m working on and I’m really stuck.
I legitimately don’t know how to do what they are asking and I’m hoping for some help.
I can’t copy other peoples work but I’m hoping for some tips/guidance.
I have to write a program where someone can add or subtract days of a date that they input in day, month, year. And it has to output the date dd/mm/yyyy that it would be after the addition or subtraction. The amount added or subtracted also has to be something that can be imputed.
I’ve googled this but a lot of people seem to be using libraries and things which I haven’t been taught yet and the assignment is supposed to be done using what I’ve been taught so far which is integers, if and else statements.