Homework 2

Due: 2/17/04

Task: Write a program that propmts the user for their first name, last name, ID number, and grades on 5 quizzes. Store the first name and last name in one variable. Use a function to calculate the average quiz grade.

The output from this program should look like:
Jeremy Gottlieb, 123456
Psychology
Average quiz grade: xxx

Where xxx is replaced by the average calculated with your function.

Purpose: This program serves a number of purposes. Primarily, it is to give you more practice with using functions and manipulating variables. A secondary purpose is to teach you how to concatenate strings and manipulate different data types.


Solution: