subject

Create a class that simulates a school calendar for a course and has a warner that provides theschool administration with the option of warning students when the last day is that a student ispermitted to drop the course. (allow administrators to warn or not, as they wish. do not make thisa required function.)you will assume in this calendar that there are 12 months in a year, 4 weeks in a month, and 7days in a week. you can represent any day by 3 numbers. for example 12/3/2 would representthe 2nd day in the 3rd week of the 12th month. in this class you should: store a calendar day in terms of month, week, and day. (you should represent the monthfrom 1 to 12, week from 1 to 4, and day from 1 to 7.)initialize the calendar to a specified day. (for example, you can initialize the calendar to1/1/1.)allow the calendar to increment to the next day. (hint: you need to take into accountthings such as whether the calendar is at the 3rd week, 6th day. then you may need toconsider iterated if statements.) in addition, you need to prevent the possibility of goingbeyond the 12th month, 4th week, and 7th day. set the warner and have the warner print out "today is the last day to drop thecourse" when the set date is reached. (hint: you may wish to create a private functionthat provides the wished-for printout when the date is reached and the warner is on.)display the present date. use the class in a program that uses the functions requiring displaying of time and settingof the warner. include 2 constructors. one constructor should be the default constructor that will initialize theobject to 1/1/1. the second constructor should take parameters for months, weeks, and days. both constructors will provide the private members with the date. in addition, have bothconstructors set the warner as off. (you will need a boolean attribute that determines whether thewarner is on or off. the administrators have the option of using the warner. they do not have toprovide a warning to students if they do not wish to. in fact, the constructor should set the defaultas the warner is off and will not provide a warning to students.) the function or method you use toset the warner will set the warner on. (hint: have the class also have attribute of month, week, and day and the ability to be on or off with a boolean variable for the warner.)

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 00:00
Match each vocabulary word to its definition.1. desktoppicture used to represent acomputer application2. domainnetwork protectionsoftware code that can be viewed,3. iconmodified, and redistributed for freethe background screen on acomputer monitor4. url5. blogan online journalthe part of an internet address that6. firewallrefers to a group of computers on anetworkonline database of web pages7. intranetnetwork for use by an individual8. open address of a web page or9. wikiresource
Answers: 2
question
Computers and Technology, 22.06.2019 14:20
Cengagenowv2 is a comprehensive online learning tool. using cengagenowv2, you may access all of the following except: 2. each time you log in, cengagenowv2 automatically performs a system check and informs you if your computer does not meet the cengagenowv2 system requirements. 3. which tab/page allows you to easily track your assignment scores, number of submissions, time spent, as well as the ability view assign
Answers: 3
question
Computers and Technology, 23.06.2019 01:30
How do you set up a slide show to play continuously, advancing through all the slides without requiring your interaction? a. click set up slide show, and then select the loop continuously until ‘esc' and show without narration options. b. click set up slide show, and then select the loop continuously until ‘esc' and use timings, if present options. c. click set up slide show, and then select the show presenter view and use timings, if present options. d. click set up slide show, and then select the show without animation and browsed at a kiosk (full screen) options.
Answers: 3
question
Computers and Technology, 24.06.2019 01:10
Create a program that will take in a single x and y coordinate as the origin. after the input is provided, the output should be all of the coordinates (all 26 coordinates read from the “coordinates.json” file), in order of closest-to-farthest from the origin.
Answers: 1
You know the right answer?
Create a class that simulates a school calendar for a course and has a warner that provides theschoo...
Questions
question
Mathematics, 27.08.2019 18:30
question
Chemistry, 27.08.2019 18:30
Questions on the website: 13722359