Challenge: Compare Two Given Dates
Apply what you’ve learned about structures in the coding exercises in this lesson.
We'll cover the following...
Problem statement
In this challenge, you will have to implement the compareDates
function.
int compareDates(struct date d1, struct date d2);
Write a function that compares two given dates. If the dates are equal, then the function should ...