CMSC104, Summer 2009

In class lab: Programming Project 4

Grade Calculator v2.0


Out: Monday, July 13th, 2009
Due Date: Tuesday, July 14th, 2009 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 to make sure the grades are greater than or equal to 0. You should use the GetPositiveValue() function that you created in the functions lab. You should not have to make any changes to GetPositiveValue() in order to use it.

More Details


U-Ryan-PC\Ryan
Last modified: Mon Jul 13 11:32:18 EDT 2009