So, for my school assignment, I have to build an ageing program that needs to calculate the number of days old (age in days). It needs to be in the text window, not the graphic window.
I have this:
Dayslived = (bob * 12 + (clock.month - month + 12)) * 30.4 + (clock.Day - day)
it works but if you enter to give the program a month (as in a number 4 = April) which is before the current month then it does not work.
How do I fix this?