CS 1401 Introduction to Computer Science
Fall 2013, Lab 2

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 a hypothetical student Luc Kay-Vladik got:

Then, the final grade is
0.26 * 90 + 0.10 * 100 + 0.03 * 50 + 0.10 * 86 + 0.36 * 80 + 0.15 * 81 = 84.45
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
  lab attendance (10%)       100
  research assignments (3%)   50
  quizzes (10%)               86
  exams (36%)                 80
  final exam (15%)            81
Overall grade for the class:  84

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

Caution. Please take into account that if you want to read a string after reading a number, you should first read the end-of-line; this "bug" of DrJava is mentioned in the book, we will show it in class, and the TAs will emphasize it in the labs.