Create a program that displays the season (Winter, Spring, Summer, Fall) based on the month (and day if
needed). The user will supply the month as a number (January=1, February=2, etc.) and the day of the month as
a number. Below are the dates of each season. You team for this take home lab may consist of 1-3 students
from your table. (You may work alone on this lab only.) You may not work with students from another table or
from another class.
Things to Do:
• Make sure your program is as efficient as possible.
• Ignore the year and leap years.
• Determine which values should be variables and which should be constants.
• Validate Input. Use tempAlternatives.zip located in PILOT>Content>Module 3>Examples as a guide for
validating input. (For example, 6/31 is an invalid date.)
• Create and type a test plan table testing inputs for boundaries and near boundaries, along with at least 3
invalid input combinations. Include negative numbers for testing as well. Note: you may not need to use
all lines in the table or you may need more.
• Create a Netbeans project called “seasons”. In the comments, include the description and all your team
members. You will export the Netbeans project as seasons.zip and upload to PILOT.
• Create a Microsoft Word document called seasons_output.doc. Include all team members name and the
lab #. You will display the output and snapshots for the following (month, day) combos: (-1, -1), (6,
31), (1, 31), (9, 22), (9, 23)
• Copy program to a Microsoft Word document called seasons_source.doc and upload to PILOT
Click Here To Get More on This Topic......
No comments:
Post a Comment