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......JAVA ASAP......Program Description Every year you pull out your fake Christmas treeProgram 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:

and decorate it in December. Then January rolls around with the start

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.

of the spring semester and you have trouble nding time to take

it down. What if you turned it into an Eternal Tree orGrading 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.one that stays up year round and you just change the decorationsExceptions: 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.

on it. Your task for this program is, given a month and

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.

day by the user, tell them what type of tree should be

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 About

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!