Here is a new linked list example. Assume there are many entries between Kim and Zelda Also, this list holds Name, Age, and GPA. First, show how you would make a node to store this information. Next, here are a few questions for you to post your answers to on WebX. Also on WebX, make your own questions and other students can answer your questions.
1. Write code to add a new entry just before Zelda
2. Write code to print all the students over 30 and under a 2.0 grade point
3. Write code to print the average GPA of all students over the average age
4. Write code to add 1 to ever student’s age who is over 40
Post your answers and new questions to WebX!!!
|