About the Lab

You won't be creating a file from scratch for this lab. Instead, you'll be given a file that contains some starting code. This starting code only solves the "easy" part of the lab — you will still have to do the bulk of the work!

To practice using while loops and lists, you will be creating a program that fills a list with courses the user is taking, and then empties that list while asking for, and totaling, the raw grade for each course. Finally, you'll average the raw grades, and tell the user the answer.

This lab is on while loops, so even if you have learned them in class this week, or know them from
your previous programming experience, DO NOT use for loops to solve this lab.





Navigation and directory creation

After logging into GL, navigate to the Labs directory inside your 201 folder. Create a folder there calledl lab5, and go inside the newly created lab5 directory.

linux2[1]% cd 201
linux2[2]% cd Labs
linux2[3]% pwd
/afs/umbc.edu/users/k/k/k38/home/201/Labs
linux2[4]% mkdir lab5
linux2[5]% cd lab5
linux2[6]% pwd
/afs/umbc.edu/users/k/k/k38/home/201/Labs/lab5
linux2[7]%