Title description: request a object-oriented program design, can show the date in a certain format, time, according to the user to specify once upon date information, calculate the user to specify dong zhong's lunar date,
Functional requirements:
(1) design a Time class Time, contains a day in the hours, minutes, seconds of properties and related operations,
(2) to design a kind of Date, Date data members should include but not limited for years, month, day, week, several attributes, such as
(3) design the menu system, based on user input display title description of function,
CodePudding user response:
Began to write, it is because of not only the need of practiceThis topic is just to let you diy encapsulates several classes, write error details, then ask not late