Personal tools
You are here: Home → Comp 170 Introduction to OOP → Lab Materials → Lab9 → Debugging
Document Actions

Debugging

by Mit Patel — last modified 2006-03-22 01:20 AM

Learn to debug.

The optional part of the lab will be to debug a provided code. The program provided does not run properly. Fix all the syntax errors, so that the program will compile successfully. Once the program compiles, compare the output to the sample output, and eliminate any logic errors that exist. Fetch AverageSix class and AverageSixTest class.

Sample Output:

Please enter the number of students you wish to average

4

Please enter a grade

87

Please enter a grade

92

Please enter a grade

93

Please enter a grade

96

The maximum: 96.00

The average: 92.00

The minimum: 87.00

« November 2026 »
Su Mo Tu We Th Fr Sa
1234567
891011121314
15161718192021
22232425262728
2930
 

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: