You are to create a small C library (i.e. a header and a C code file) of functions involving dates. The first function will indicate if a given year is a leap year or not using a function build from the pseudocode above. It should return a 1 if true or 0 if false. The second function you will write will determine the convert a given date (given in the form year, month, and day) into the number of the day. For example 2013 January 01, is day 1 of 2013, 2013 February 01 is day 32, and 2013 December 31 is day 365. Of course, if 2013 had been a leap year, 2013 December 31 would have been day 366. You will need to know the number of days in each month. Lastly, given a start date after 1582 in the form year, month, day and an end date in the same form, determine the number of days in between. So 2012 January 01 to 2013 January 01 was 366 days (day 1 + 366 days in 2012 – day 1 = 366 days) since 2012 was a leap year. Make sure you name the functions and variables to enhance readability. Add comments for clarity.if year modulo 4 is 0 then if year modulo 100 is 0 then if year modulo 400 is 0 then is_leap_year else not_leap_year else is_leap_year else not_leap_year

If you have main() or printf() in there you are not doing what I am asking.