- This topic has 0 replies, 1 voice, and was last updated 16 years, 6 months ago by .
Viewing 0 reply threads
Viewing 0 reply threads
- The forum ‘C# Programming’ is closed to new topics and replies.
Home › Forums › C# Programming › Help with this logic PLEASE??
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.
Thanx