Here is your score for Assignment 8.

Score: TBD

Let me know if you have any questions regarding your score. And let me know if you want a copy of an example implementation for the assignment.

Regards,
Jade

Grading Guidelines


Test Results for Assignment 8

The following files was used during the tests:

javac -Xlint:all *.java
--> EXIT CODE: 0 <--
java ChengJade8

+=========================================================================+
| taxpayers                                                               |
|-------------------------------------------------------------------------|
| please enter                                                            |
|                                                                         |
| [1] add a new taxpayer record                                           |
| [2] change tax for a taxpayer                                           |
| [3] remove a taxpayer record                                            |
| [4] display the database                                                |
| [5] find the previous record                                            |
| [6] find the next record                                                |
| [7] exit program                                                        |
|                                                                         |
+=========================================================================+

Choice: 
4
        name: Jane, SSN: 9, tax due: 109.0
    name: Iris, SSN: 8, tax due: 108.0
        name: Hank, SSN: 7, tax due: 107.0
            name: Greg, SSN: 6, tax due: 106.0
name: Fred, SSN: 5, tax due: 105.0
            name: Eric, SSN: 4, tax due: 104.0
        name: Dave, SSN: 3, tax due: 103.0
            name: Cris, SSN: 2, tax due: 102.0
    name: Bill, SSN: 1, tax due: 101.0
        name: Adam, SSN: 0, tax due: 100.0


+=========================================================================+
| taxpayers                                                               |
|-------------------------------------------------------------------------|
| please enter                                                            |
|                                                                         |
| [1] add a new taxpayer record                                           |
| [2] change tax for a taxpayer                                           |
| [3] remove a taxpayer record                                            |
| [4] display the database                                                |
| [5] find the previous record                                            |
| [6] find the next record                                                |
| [7] exit program                                                        |
|                                                                         |
+=========================================================================+

Choice: 
7
--> EXIT CODE: 0 <--
java ChengJade8

+=========================================================================+
| taxpayers                                                               |
|-------------------------------------------------------------------------|
| please enter                                                            |
|                                                                         |
| [1] add a new taxpayer record                                           |
| [2] change tax for a taxpayer                                           |
| [3] remove a taxpayer record                                            |
| [4] display the database                                                |
| [5] find the previous record                                            |
| [6] find the next record                                                |
| [7] exit program                                                        |
|                                                                         |
+=========================================================================+

Choice: 
5

+=========================================================================+
| Message                                                                 |
|-------------------------------------------------------------------------|
| enter SSN of taxpayer                                                   |
+=========================================================================+

Input: 
0
no previous record for SSN 0

+=========================================================================+
| taxpayers                                                               |
|-------------------------------------------------------------------------|
| please enter                                                            |
|                                                                         |
| [1] add a new taxpayer record                                           |
| [2] change tax for a taxpayer                                           |
| [3] remove a taxpayer record                                            |
| [4] display the database                                                |
| [5] find the previous record                                            |
| [6] find the next record                                                |
| [7] exit program                                                        |
|                                                                         |
+=========================================================================+

Choice: 
5

+=========================================================================+
| Message                                                                 |
|-------------------------------------------------------------------------|
| enter SSN of taxpayer                                                   |
+=========================================================================+

Input: 
1
previous record for SSN 1: --> name: Adam, SSN: 0, tax due: 100.0

+=========================================================================+
| taxpayers                                                               |
|-------------------------------------------------------------------------|
| please enter                                                            |
|                                                                         |
| [1] add a new taxpayer record                                           |
| [2] change tax for a taxpayer                                           |
| [3] remove a taxpayer record                                            |
| [4] display the database                                                |
| [5] find the previous record                                            |
| [6] find the next record                                                |
| [7] exit program                                                        |
|                                                                         |
+=========================================================================+

Choice: 
5

+=========================================================================+
| Message                                                                 |
|-------------------------------------------------------------------------|
| enter SSN of taxpayer                                                   |
+=========================================================================+

Input: 
2
previous record for SSN 2: --> name: Bill, SSN: 1, tax due: 101.0

+=========================================================================+
| taxpayers                                                               |
|-------------------------------------------------------------------------|
| please enter                                                            |
|                                                                         |
| [1] add a new taxpayer record                                           |
| [2] change tax for a taxpayer                                           |
| [3] remove a taxpayer record                                            |
| [4] display the database                                                |
| [5] find the previous record                                            |
| [6] find the next record                                                |
| [7] exit program                                                        |
|                                                                         |
+=========================================================================+

Choice: 
5

+=========================================================================+
| Message                                                                 |
|-------------------------------------------------------------------------|
| enter SSN of taxpayer                                                   |
+=========================================================================+

Input: 
3
previous record for SSN 3: --> name: Cris, SSN: 2, tax due: 102.0

+=========================================================================+
| taxpayers                                                               |
|-------------------------------------------------------------------------|
| please enter                                                            |
|                                                                         |
| [1] add a new taxpayer record                                           |
| [2] change tax for a taxpayer                                           |
| [3] remove a taxpayer record                                            |
| [4] display the database                                                |
| [5] find the previous record                                            |
| [6] find the next record                                                |
| [7] exit program                                                        |
|                                                                         |
+=========================================================================+

Choice: 
5

+=========================================================================+
| Message                                                                 |
|-------------------------------------------------------------------------|
| enter SSN of taxpayer                                                   |
+=========================================================================+

Input: 
4
previous record for SSN 4: --> name: Dave, SSN: 3, tax due: 103.0

+=========================================================================+
| taxpayers                                                               |
|-------------------------------------------------------------------------|
| please enter                                                            |
|                                                                         |
| [1] add a new taxpayer record                                           |
| [2] change tax for a taxpayer                                           |
| [3] remove a taxpayer record                                            |
| [4] display the database                                                |
| [5] find the previous record                                            |
| [6] find the next record                                                |
| [7] exit program                                                        |
|                                                                         |
+=========================================================================+

Choice: 
5

+=========================================================================+
| Message                                                                 |
|-------------------------------------------------------------------------|
| enter SSN of taxpayer                                                   |
+=========================================================================+

Input: 
5
previous record for SSN 5: --> name: Eric, SSN: 4, tax due: 104.0

+=========================================================================+
| taxpayers                                                               |
|-------------------------------------------------------------------------|
| please enter                                                            |
|                                                                         |
| [1] add a new taxpayer record                                           |
| [2] change tax for a taxpayer                                           |
| [3] remove a taxpayer record                                            |
| [4] display the database                                                |
| [5] find the previous record                                            |
| [6] find the next record                                                |
| [7] exit program                                                        |
|                                                                         |
+=========================================================================+

Choice: 
5

+=========================================================================+
| Message                                                                 |
|-------------------------------------------------------------------------|
| enter SSN of taxpayer                                                   |
+=========================================================================+

Input: 
6
previous record for SSN 6: --> name: Fred, SSN: 5, tax due: 105.0

+=========================================================================+
| taxpayers                                                               |
|-------------------------------------------------------------------------|
| please enter                                                            |
|                                                                         |
| [1] add a new taxpayer record                                           |
| [2] change tax for a taxpayer                                           |
| [3] remove a taxpayer record                                            |
| [4] display the database                                                |
| [5] find the previous record                                            |
| [6] find the next record                                                |
| [7] exit program                                                        |
|                                                                         |
+=========================================================================+

Choice: 
5

+=========================================================================+
| Message                                                                 |
|-------------------------------------------------------------------------|
| enter SSN of taxpayer                                                   |
+=========================================================================+

Input: 
7
previous record for SSN 7: --> name: Greg, SSN: 6, tax due: 106.0

+=========================================================================+
| taxpayers                                                               |
|-------------------------------------------------------------------------|
| please enter                                                            |
|                                                                         |
| [1] add a new taxpayer record                                           |
| [2] change tax for a taxpayer                                           |
| [3] remove a taxpayer record                                            |
| [4] display the database                                                |
| [5] find the previous record                                            |
| [6] find the next record                                                |
| [7] exit program                                                        |
|                                                                         |
+=========================================================================+

Choice: 
5

+=========================================================================+
| Message                                                                 |
|-------------------------------------------------------------------------|
| enter SSN of taxpayer                                                   |
+=========================================================================+

Input: 
8
previous record for SSN 8: --> name: Hank, SSN: 7, tax due: 107.0

+=========================================================================+
| taxpayers                                                               |
|-------------------------------------------------------------------------|
| please enter                                                            |
|                                                                         |
| [1] add a new taxpayer record                                           |
| [2] change tax for a taxpayer                                           |
| [3] remove a taxpayer record                                            |
| [4] display the database                                                |
| [5] find the previous record                                            |
| [6] find the next record                                                |
| [7] exit program                                                        |
|                                                                         |
+=========================================================================+

Choice: 
5

+=========================================================================+
| Message                                                                 |
|-------------------------------------------------------------------------|
| enter SSN of taxpayer                                                   |
+=========================================================================+

Input: 
9
previous record for SSN 9: --> name: Iris, SSN: 8, tax due: 108.0

+=========================================================================+
| taxpayers                                                               |
|-------------------------------------------------------------------------|
| please enter                                                            |
|                                                                         |
| [1] add a new taxpayer record                                           |
| [2] change tax for a taxpayer                                           |
| [3] remove a taxpayer record                                            |
| [4] display the database                                                |
| [5] find the previous record                                            |
| [6] find the next record                                                |
| [7] exit program                                                        |
|                                                                         |
+=========================================================================+

Choice: 
5

+=========================================================================+
| Message                                                                 |
|-------------------------------------------------------------------------|
| enter SSN of taxpayer                                                   |
+=========================================================================+

Input: 
100
no matching record for SSN 100

+=========================================================================+
| taxpayers                                                               |
|-------------------------------------------------------------------------|
| please enter                                                            |
|                                                                         |
| [1] add a new taxpayer record                                           |
| [2] change tax for a taxpayer                                           |
| [3] remove a taxpayer record                                            |
| [4] display the database                                                |
| [5] find the previous record                                            |
| [6] find the next record                                                |
| [7] exit program                                                        |
|                                                                         |
+=========================================================================+

Choice: 
7
--> EXIT CODE: 0 <--
java ChengJade8

+=========================================================================+
| taxpayers                                                               |
|-------------------------------------------------------------------------|
| please enter                                                            |
|                                                                         |
| [1] add a new taxpayer record                                           |
| [2] change tax for a taxpayer                                           |
| [3] remove a taxpayer record                                            |
| [4] display the database                                                |
| [5] find the previous record                                            |
| [6] find the next record                                                |
| [7] exit program                                                        |
|                                                                         |
+=========================================================================+

Choice: 
6

+=========================================================================+
| Message                                                                 |
|-------------------------------------------------------------------------|
| enter SSN of taxpayer                                                   |
+=========================================================================+

Input: 
0
next record for SSN 0: --> name: Bill, SSN: 1, tax due: 101.0

+=========================================================================+
| taxpayers                                                               |
|-------------------------------------------------------------------------|
| please enter                                                            |
|                                                                         |
| [1] add a new taxpayer record                                           |
| [2] change tax for a taxpayer                                           |
| [3] remove a taxpayer record                                            |
| [4] display the database                                                |
| [5] find the previous record                                            |
| [6] find the next record                                                |
| [7] exit program                                                        |
|                                                                         |
+=========================================================================+

Choice: 
6

+=========================================================================+
| Message                                                                 |
|-------------------------------------------------------------------------|
| enter SSN of taxpayer                                                   |
+=========================================================================+

Input: 
1
next record for SSN 1: --> name: Cris, SSN: 2, tax due: 102.0

+=========================================================================+
| taxpayers                                                               |
|-------------------------------------------------------------------------|
| please enter                                                            |
|                                                                         |
| [1] add a new taxpayer record                                           |
| [2] change tax for a taxpayer                                           |
| [3] remove a taxpayer record                                            |
| [4] display the database                                                |
| [5] find the previous record                                            |
| [6] find the next record                                                |
| [7] exit program                                                        |
|                                                                         |
+=========================================================================+

Choice: 
6

+=========================================================================+
| Message                                                                 |
|-------------------------------------------------------------------------|
| enter SSN of taxpayer                                                   |
+=========================================================================+

Input: 
2
next record for SSN 2: --> name: Dave, SSN: 3, tax due: 103.0

+=========================================================================+
| taxpayers                                                               |
|-------------------------------------------------------------------------|
| please enter                                                            |
|                                                                         |
| [1] add a new taxpayer record                                           |
| [2] change tax for a taxpayer                                           |
| [3] remove a taxpayer record                                            |
| [4] display the database                                                |
| [5] find the previous record                                            |
| [6] find the next record                                                |
| [7] exit program                                                        |
|                                                                         |
+=========================================================================+

Choice: 
6

+=========================================================================+
| Message                                                                 |
|-------------------------------------------------------------------------|
| enter SSN of taxpayer                                                   |
+=========================================================================+

Input: 
3
next record for SSN 3: --> name: Eric, SSN: 4, tax due: 104.0

+=========================================================================+
| taxpayers                                                               |
|-------------------------------------------------------------------------|
| please enter                                                            |
|                                                                         |
| [1] add a new taxpayer record                                           |
| [2] change tax for a taxpayer                                           |
| [3] remove a taxpayer record                                            |
| [4] display the database                                                |
| [5] find the previous record                                            |
| [6] find the next record                                                |
| [7] exit program                                                        |
|                                                                         |
+=========================================================================+

Choice: 
6

+=========================================================================+
| Message                                                                 |
|-------------------------------------------------------------------------|
| enter SSN of taxpayer                                                   |
+=========================================================================+

Input: 
4
next record for SSN 4: --> name: Fred, SSN: 5, tax due: 105.0

+=========================================================================+
| taxpayers                                                               |
|-------------------------------------------------------------------------|
| please enter                                                            |
|                                                                         |
| [1] add a new taxpayer record                                           |
| [2] change tax for a taxpayer                                           |
| [3] remove a taxpayer record                                            |
| [4] display the database                                                |
| [5] find the previous record                                            |
| [6] find the next record                                                |
| [7] exit program                                                        |
|                                                                         |
+=========================================================================+

Choice: 
6

+=========================================================================+
| Message                                                                 |
|-------------------------------------------------------------------------|
| enter SSN of taxpayer                                                   |
+=========================================================================+

Input: 
5
next record for SSN 5: --> name: Greg, SSN: 6, tax due: 106.0

+=========================================================================+
| taxpayers                                                               |
|-------------------------------------------------------------------------|
| please enter                                                            |
|                                                                         |
| [1] add a new taxpayer record                                           |
| [2] change tax for a taxpayer                                           |
| [3] remove a taxpayer record                                            |
| [4] display the database                                                |
| [5] find the previous record                                            |
| [6] find the next record                                                |
| [7] exit program                                                        |
|                                                                         |
+=========================================================================+

Choice: 
6

+=========================================================================+
| Message                                                                 |
|-------------------------------------------------------------------------|
| enter SSN of taxpayer                                                   |
+=========================================================================+

Input: 
6
next record for SSN 6: --> name: Hank, SSN: 7, tax due: 107.0

+=========================================================================+
| taxpayers                                                               |
|-------------------------------------------------------------------------|
| please enter                                                            |
|                                                                         |
| [1] add a new taxpayer record                                           |
| [2] change tax for a taxpayer                                           |
| [3] remove a taxpayer record                                            |
| [4] display the database                                                |
| [5] find the previous record                                            |
| [6] find the next record                                                |
| [7] exit program                                                        |
|                                                                         |
+=========================================================================+

Choice: 
6

+=========================================================================+
| Message                                                                 |
|-------------------------------------------------------------------------|
| enter SSN of taxpayer                                                   |
+=========================================================================+

Input: 
7
next record for SSN 7: --> name: Iris, SSN: 8, tax due: 108.0

+=========================================================================+
| taxpayers                                                               |
|-------------------------------------------------------------------------|
| please enter                                                            |
|                                                                         |
| [1] add a new taxpayer record                                           |
| [2] change tax for a taxpayer                                           |
| [3] remove a taxpayer record                                            |
| [4] display the database                                                |
| [5] find the previous record                                            |
| [6] find the next record                                                |
| [7] exit program                                                        |
|                                                                         |
+=========================================================================+

Choice: 
6

+=========================================================================+
| Message                                                                 |
|-------------------------------------------------------------------------|
| enter SSN of taxpayer                                                   |
+=========================================================================+

Input: 
8
next record for SSN 8: --> name: Jane, SSN: 9, tax due: 109.0

+=========================================================================+
| taxpayers                                                               |
|-------------------------------------------------------------------------|
| please enter                                                            |
|                                                                         |
| [1] add a new taxpayer record                                           |
| [2] change tax for a taxpayer                                           |
| [3] remove a taxpayer record                                            |
| [4] display the database                                                |
| [5] find the previous record                                            |
| [6] find the next record                                                |
| [7] exit program                                                        |
|                                                                         |
+=========================================================================+

Choice: 
6

+=========================================================================+
| Message                                                                 |
|-------------------------------------------------------------------------|
| enter SSN of taxpayer                                                   |
+=========================================================================+

Input: 
9
no next record for SSN 9

+=========================================================================+
| taxpayers                                                               |
|-------------------------------------------------------------------------|
| please enter                                                            |
|                                                                         |
| [1] add a new taxpayer record                                           |
| [2] change tax for a taxpayer                                           |
| [3] remove a taxpayer record                                            |
| [4] display the database                                                |
| [5] find the previous record                                            |
| [6] find the next record                                                |
| [7] exit program                                                        |
|                                                                         |
+=========================================================================+

Choice: 
6

+=========================================================================+
| Message                                                                 |
|-------------------------------------------------------------------------|
| enter SSN of taxpayer                                                   |
+=========================================================================+

Input: 
100
no matching record for SSN 100

+=========================================================================+
| taxpayers                                                               |
|-------------------------------------------------------------------------|
| please enter                                                            |
|                                                                         |
| [1] add a new taxpayer record                                           |
| [2] change tax for a taxpayer                                           |
| [3] remove a taxpayer record                                            |
| [4] display the database                                                |
| [5] find the previous record                                            |
| [6] find the next record                                                |
| [7] exit program                                                        |
|                                                                         |
+=========================================================================+

Choice: 
7
--> EXIT CODE: 0 <--
java ChengJade8

+=========================================================================+
| taxpayers                                                               |
|-------------------------------------------------------------------------|
| please enter                                                            |
|                                                                         |
| [1] add a new taxpayer record                                           |
| [2] change tax for a taxpayer                                           |
| [3] remove a taxpayer record                                            |
| [4] display the database                                                |
| [5] find the previous record                                            |
| [6] find the next record                                                |
| [7] exit program                                                        |
|                                                                         |
+=========================================================================+

Choice: 
5

+=========================================================================+
| Message                                                                 |
|-------------------------------------------------------------------------|
| enter SSN of taxpayer                                                   |
+=========================================================================+

Input: 
100
no matching record for SSN 100

+=========================================================================+
| taxpayers                                                               |
|-------------------------------------------------------------------------|
| please enter                                                            |
|                                                                         |
| [1] add a new taxpayer record                                           |
| [2] change tax for a taxpayer                                           |
| [3] remove a taxpayer record                                            |
| [4] display the database                                                |
| [5] find the previous record                                            |
| [6] find the next record                                                |
| [7] exit program                                                        |
|                                                                         |
+=========================================================================+

Choice: 
6

+=========================================================================+
| Message                                                                 |
|-------------------------------------------------------------------------|
| enter SSN of taxpayer                                                   |
+=========================================================================+

Input: 
100
no matching record for SSN 100

+=========================================================================+
| taxpayers                                                               |
|-------------------------------------------------------------------------|
| please enter                                                            |
|                                                                         |
| [1] add a new taxpayer record                                           |
| [2] change tax for a taxpayer                                           |
| [3] remove a taxpayer record                                            |
| [4] display the database                                                |
| [5] find the previous record                                            |
| [6] find the next record                                                |
| [7] exit program                                                        |
|                                                                         |
+=========================================================================+

Choice: 
7
--> EXIT CODE: 0 <--
Valid HTML 4.01 Valid CSS