CMSC104 Spring 2010

Programming Project 4

Grade Calculator v2.0


Out: Tuesday, May 4, 2010
Due Date: Thursday, May 13, 2010 before 11:59 p.m.

The Objective

This project is designed to give you practice using arrays in JavaScript.

The Task

You are going to make some improvements to the grade calculator that you designed in Project 1. Rather than storing each of the grades in individual variables, you are going to use arrays to store your data. You should have an array for each of the different types of grades: homeworks, projects and exams. You are also going to error check the user input. You should use the function GetValidNumberInput() that you used in Project 3. You should have a function named Average() that takes an array as a parameter and returns the average of all the elements in the array.

More Details

Screenshots

Submitting the Program

You do not have to do anything to submit the program. It should be in your pub/www/cs104/proj4 directory.