C# basic program
Budget: £10 – £15 GBP
Hi
Here is your question:
Given the following:
• Thirty days has September,
April, June and November.
All the rest have thirty-one,
Saving February alone,
Which has twenty-eight, rain or shine.
And on leap years, twenty-nine.
• 1 Jan 1900 was a Monday.
• A leap year occurs on any year evenly divisible by 4, but not on a century unless it is divisible by 400.
How many Sundays fell on the first of the month during the twentieth century (1 Jan 1901 to 31 Dec 2000)?
I need a C# written program in console which would output how many Sundays land on the 1st day of the month between 1901 and 2000 century
Please when writing a solution can you not use the DateTime library as i'm looking for a more low level solution
Thanks
Here is your question:
Given the following:
• Thirty days has September,
April, June and November.
All the rest have thirty-one,
Saving February alone,
Which has twenty-eight, rain or shine.
And on leap years, twenty-nine.
• 1 Jan 1900 was a Monday.
• A leap year occurs on any year evenly divisible by 4, but not on a century unless it is divisible by 400.
How many Sundays fell on the first of the month during the twentieth century (1 Jan 1901 to 31 Dec 2000)?
I need a C# written program in console which would output how many Sundays land on the 1st day of the month between 1901 and 2000 century
Please when writing a solution can you not use the DateTime library as i'm looking for a more low level solution
Thanks