I have this function (CalculateFare) that is suppose to calculate the cost of a few different things but will give a discount based on when you made the order. I'm having issues getting the days between the two dates to work successfully.
this is the function and what I have so far. Any help would be great. the code is not complete just hit a brick wall and can't find anything to help with adjustments.
more specific to my question would be how could I jam in (int monSail, int daySail, int yearSail) into (date1) and (int bookMon, int bookDay, int bookYear) into (date2)?
is it even possible or do I need to look at a different method to doing so?