c++ calendar

I am having trouble with coming up with source code for this :(
Speci fications:
1. Calendar is menu-driven. The user chooses his desired activities by selecting one of the options provided in the menu.
2. When the user enters V or v, a menu allowing the user to choose which calendar view will be displayed: either day, week, or month.
a) If the view format selected is day, the month (in words), day, year and weekday is displayed on screen. See Figure b.
b) If the view format selected is week, the week that contains the speci fied date is shown. The display must contain month (in words) and year, days in that
week and their speci c weekdays. See Figure c.
c) If the view format selected is month, the month that contains the specifi ed date is shown. The display must contain month (in words) and year, days in that
week and their speci fied weekdays. See Figure d.
3. The program ends if and only if the user selected the E or e option from the main menu.
4. When the user selects D or d, the user is asked to input a date value. The input of the user for the date value is a single integer only. Assume that the format is mmddyyyy. Make sure that the input is valid. Display the corresponding calendar.
5. Assume the calendar is valid starting from January 1, 1900. Dates before that
considered invalid and the application will not generate calendars for them.
Last edited on
Topic archived. No new replies allowed.