Due: Wednesday 3/19 10:00am
Submission name: w12_orbnodes
We will continue with the work started in class on using a node based Orb
structure.
-
Start with the program developed in class from yesterday’s assignment.
-
Add the following to the driver file (it should still do all the things from the previous assignment).
- The ability to calculate and apply earthGravity if that option is on.
- The ability to add a random node to the front of the chain when
'='
is pressed. - The ability to remove the front node of the chain when
'-'
is pressed. - For adding and removing, you may assume there is always at least 1 node.