subject

Create a class called date, represents a date. This class has three integer member variables; day, month and year, it also contains the following five member functions:
setDate to set the values of day, month and year.
incrementDate to increment the day you give by one and update month and year according to
this change.
getDay to display the new day after increment the day.
getMonth to display the month.
getYear to display the year

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:00
Which of the following is not contained on the slide show toolbar? a. next button b. slide button c. close button d. pen too
Answers: 2
question
Computers and Technology, 22.06.2019 20:40
Assume that there is a 4% rate of disk drive failure in a year. a. if all your computer data is stored on a hard disk drive with a copy stored on a second hard disk drive, what is the probability that during a year, you can avoid catastrophe with at least one working drive? b. if copies of all your computer data are stored on three independent hard disk drives, what is the probability that during a year, you can avoid catastrophe with at least one working drive?
Answers: 1
question
Computers and Technology, 23.06.2019 18:00
Apunishment or the threat of punishment used to enforce conformity. select the best answer from the choices provided t f
Answers: 1
question
Computers and Technology, 24.06.2019 22:30
Telling a computer that is already on to turn again is known as what type of boot?
Answers: 1
You know the right answer?
Create a class called date, represents a date. This class has three integer member variables; day,...
Questions
question
Mathematics, 04.06.2020 20:04
Questions on the website: 13722367