to be more precise, it works fine for every date except for the leap year 1916. all other years work perfectly. i cant seem to find why though......
i can solve it partially if i put
if...
Type: Posts; User: george
to be more precise, it works fine for every date except for the leap year 1916. all other years work perfectly. i cant seem to find why though......
i can solve it partially if i put
if...
i have done it like this but i am having trouble with leap years. when i insert a year which is not leap it works fine, but when the year is leap it prints the wrong day. can you point me to the...
so to check if i understood:
lets say my base date is 1/3/1900 (1900 was not a leap year)
and the user gives me for example 10/2/2000 ( it is a leap year so february has 29)
user year-base...
i have an assignment in which a user enters a date in dd/mm/yy format and the program must output what day of the week that date is.
I use 3 different variables to get the values of dd,mm and yy
...