technotip.com/7105/c-program-t...
According to the Gregorian Calendar, it was Monday on the date 01/01/01. If any year is input through the keyboard write a program to find out what is the day on 1st January of this year.
Note: From 01/01 we understand that it's 1st of January. We shall take the year as 1900. We also know that 01 January 1900 was Monday.
Gregorian Calendar: the calendar introduced in 1582 by Pope Gregory XIII, as a modification of the Julian Calendar.
Expected Output for the Input
User Input:
Enter a year between 1900 and 2099
2020
Output:
The day on 01 January 2020 was Wednesday.
C Programming Interview / Viva Q&A List
technotip.com/6378/c-programmi...
C Programming: Beginner To Advance To Expert
technotip.com/6086/c-programmi...
Негізгі бет C Program To Find The Day on 01 January in Gregorian Calendar
Пікірлер: 20