No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi guys, any help appreciated here. This is what I have so far. [CODE]int getDaysBetweenDates(int day, int month, int year, int day2, int month2, int year2) { if(isFirstDateGreaterThanSecond(int month1, int day1, int year1, int month2, int day2, int year2)) { return getDaysBetweenDates(month2, day2, year2, month1, day1, year1) } else if(year1 … |
|
Hi guys. I have been working at this for several hours. I'm still a novice in C++. The program I need to write is suppose to calculate the day number for a given day represented by three type int values. It also needs a function that returns true if the … |
|
I'm unfamiliar with how to write recursive functions. Can anyone help me out here? I need a recursive function to see if date number 1 is greater than date number 2. If it is it returns true. If 2 > 1, it switches them and returns them like that. If … |
|
Hi guys, trying to get a day number from 1 - 366 for a specific date. I've been working on this for a while. I can't seem to figure out. I'm not asking for an answer, just a push in the right direction. So far here is what I have … |