| |
| META TOPICPARENT |
name="CSC121SylS2022" |
Seventh lab: Calendar: Part 3
Learning Objective(s) |
| | Overview of the program
This lab should track the number of hours scheduled to be done in a day.
Details |
|
> > |
- The program should be called CalendarKeeper
|
| |
- Activities include:
- Adding a task to a day (for a given date, the number of hours and the name of a task).
- Display all tasks associated with a given day
|
| |
- Method information
- Use one method to get the date from the user
- Use a separate method for each activity
|
|
< < |
- The program should be called CalendarKeeper
|
> > |
- Input: You must support the following for user input. You may supplement with other options.
- 0 (the number not letter) will be used to indicated no more work
- 1 will be used to indicate that a task is to be added
- 2 will be used to indicate that the user wishes to display the information about a day
- 3 will be used to indicate that the user wishes to see the number of hours assigned to a day
- 4 will be used to indicate that the user wishes to see the number of hours assigned to a month
- a line of input associated with a new task will look like the following. It indicates that the user plans to spend 3.5 hours on the task of writing code.
3.5 write code
|
| | Submission
- Create an empty zip folder.
- Place your program (.java file) in it
|