C Program to find day of birth from DOB

Problem Statement Write a C program to find the day of the week from a date of birth. For example, given 02/04/2017 (2nd April 2017), the program should tell you it was a Sunday. The Approach Pick a base year whose January 1st is a known weekday. We use 1900 (Jan 1, 1900 was a …

C Program to compute the difference between two dates.

Write a C program to compute the difference between two dates.In this C Program, We check the date is valid or not and then calculating the No. of days of first date and second date from Jan 1 of first date, then subtract the smaller date from another. Read more about C Programming Language . …