A programme in C++ that if date is input it tells day?
For example
Enter Date : 1-01-1985
The day is 'Monday'
Enter Date : 2-01-1985
The day is 'Tuesday'
Restriictions are using If-else, switch,operators(/,%,*,+,-) while loop.logical operations(&& || )
Please write the programme or Explain the logic
It starts like this.
if (year%4==0)
"it is leap year"
Then what?????
PLEASE HELP.
THIS IS MY FINAL DESTINATION.If no answer from here. I won't find it how to do!!!
Thanx