Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

In this project, you will implement a number of functions that deal with date ob

ID: 3641288 • Letter: I

Question

In this project, you will implement a number of functions that deal with date objects, which are structs with three integer fields: month, day, year. The specifications for the functions are given as comments in the file date.h.
You will be provided with three files: date.h, main.c, and a “shell” date.c. Where you will provide the definitions for the functions given in date.h . The main.c file contains code to test your date implementation.
You should not modify either of the files date.h and main.c. All your work should be in the file date.c.

*** date.c ***


/* dates.c - implementation of functions in dates.h */
/* */
/* Programmer:
/*****************************************************/

#include "date.h"


int is_leap_year(int the_year)
{

}

int days_in_month(int month, int leap_year)
{

}

void input_date(date *dp)
{

}

void print_date(date d)
{

}

int day_of_year(date d)
{

}

void check_age_and_birthday(date birthdate, date today)
{

}

void submit_status(date start, date end, date submit)
{

}


 Note:

 Please let me know if you need to see main.c and date.h

Thanks!

Explanation / Answer

you need to define this functions as you define in your c program.like in leap year function you just check by the year that if it is leap then return 1 and else return 0; you need to include stdlio.h library also for printing some thing .also if you want some code then post all the three files .

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote