I've only had 4 classes about learning C++ so far so I am a very novice programmer. My prof. handed out this assignment today and I am completely lost. I have to write a program that only accepts a date b/w 1/1/1901 and 12/31/2099 from the keyboard and then convert it from "month/day/year" to "month-name day, year" and print the date in that new format. For example "11/12/2013" read from keyboard to "November 12, 2013". I also have to factor in leap years (which is about the only thing I know how to do right now). He said we must use both 'if' and 'switch' statements, and no arrays.
Each class I take with my prof. is 1.5 hrs lecture and 1.5 hrs practicing with C++. He jams so much information in each session it's hard to understand everything. Not to mention he has a very thick accent....
Never mind i figured that part out already. However, I'm still confused on how to generate an if statement for dates in between 1/1/1901 and 12/31/2099