CS 1401 Introduction to Computer Science
Fall 2013, Lab 3

Idea. This program is a modification of the program that you did for Lab 2. There are four main changes in comparison with that program: Assignment. The class syllabus describes how we assign a grade for this class: we combine grades for the labs, for research, for quizzes, and for exams: Write a program that can help a student predict his grade. This program should:

Example. Suppose that for a hypothetical student:

Suppose that this student got: Then, the overall grade is
0.26 * 90 + 0.10 * 100 + 0.03 * 50 + 0.10 * 86 + 0.36 * 80 + 0.15 * 81 =
23.4 + 10.0 + 1.5 + 8.6 + 28.8 + 12.15 = 84.45
The final grade is then 84.45 + 2.5 = 86.95.

Your program should then print the following text:

Semester: Fall 2013
Class: CS 1401 Introduction to Computer Science
Student name: Luc Kay-Vladik
Grades for:
  lab assignments (26%)       90  23.4
  lab attendance (10%)       100  10.0
  research assignments (3%)   50   1.5
  quizzes (10%)               86   8.6
  exams (36%)                 80  28.8
  final exam (15%)            81  12.1
Overall                           84.4
Extra credit                       2.5
Final grade for the class:        86.9

When it is due. The program is due at the beginning of the first lab section on the week of September 23, i.e.: