Question
JAVA ASAP...... Program Description Every year you pull out your fake Christmas tree and decorate it in December. Then January rolls around with the start
JAVA ASAP......Program Description
Every year you pull out your fake Christmas tree and decorate it in December. Then January rolls around with the start of the spring semester and you have trouble nding time to take it down. What if you turned it into an Eternal Tree or one that stays up year round and you just change the decorations on it. Your task for this program is, given a month and day by the user, tell them what type of tree should be displayed or if they should be setting up for a new one. Here are the general rules to be followed:
The next set of decorations need to go up within 3 days of the last holiday ending (if its in the middle of the month) or within 3 days of the start of the month. Otherwise, you should see the current tree decorations. So if the user enters January 10 the program should tell the user they should be looking at a Winter Tree. If the user enters February 1 the program should tell the user they should be setting up a Valentines Day Tree. By the time they get to February 4th, they should be looking at a Valentine's Day Tree. See later in the assignment for more test cases. Exceptions: Note that for the Easter, Summer, and Christmas trees, you should "see" those for the entire months. The trees were already "set up" in the previous month.
Grading Notes You must have a completed Collaboration document on le in order for the program to be graded. Your program should include basic "header" documentation in your code that identies your name, class section, program #, due date and brief description of the program. You should only need material covered through lecture 5 of the course for this assignment. Your program must input the date as two separate integer values, with the month entered rst and the day entered second.Exceptions: Note that for the Easter, Summer, and Christmas trees, you should "see" those for the entire months. The trees were already "set up" in the previous month.
Grading Rubric NOTE: If your submitted assignment does not compile, you will receive 0 points. We are unable to test code that does not compile. Insuring that your code compiles is critical when developing programs. We would rather grade an incomplete yet operational program than a program that we can't test.
Required Output Format . You should set up your WHICH Tree . You should see your WHICH Tree invalid value: MONTH x IS BAD DAY x IS BAD Class and File Naming Name your class Tree and source file Tree.java. Points to Think AboutStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started