I am in a computer science class at LSU and i can not figure out how to writhe this program. The program must let the user input (MM/DD/YYYY) and then output what day that date was on and also if it was a leap year or not. PLEASE HELP!!!!
Also for the input I started like this not sure if best way
1 2 3 4 5 6
char month[5], day[5], year[7];
int Month,Day,Year,Year2;
cout << "Enter month day and year in MM/DD/YYYY format\n";
cin.get(month,4, '/');
cin.ignore();
Month = atoi (month);