This assignment is intended to see if youve learned the basic concepts talked about thus far in the lectures. This assignment requires the use of classes, the last few assignments in this course will build upon the ideas used in this assignment.
In this assignment, you will be responsible for making the ToDo class, You can reuse what you have done for assignment 9, but a number of the functions will not be required.
The program asks the user for a task, and a priority
Creates a new ToDo object
Keeps asking the user for a new task until a priority of <1 is given
Sorts the collection (by priority)
Provides an ordered (by priority) list of tasks they should complete.
Welcome to my ToDo Prioritization Program:
Enter a task that you must do, specify a priority of < 1 to stop
What is the task?
Import things
What is the priority of this task?
10
Enter a task that you must do, specify a priority of < 1 to stop
What is the task?
Assignment 10
What is the priority of this task?
3
Enter a task that you must do, specify a priority of < 1 to stop
What is the task?
Study for exam
What is the priority of this task?
4
Enter a task that you must do, specify a priority of < 1 to stop
What is the task?
Eat
What is the priority of this task?
1
Enter a task that you must do, specify a priority of < 1 to stop
What is the task?
What is the priority of this task?
-1
This is your tasklist, things you should do first are listed first:
1 Eat
3 Assignment 10
4 Study for exam
10 Important things