Project Information
PROBLEM: This lab is a repeat of lab4 (single control
break algorithm), but this time the file is not already grouped by the major
field (car type for the car project and the ODS field for the football
project). You are NOT ALLOWED to sort
the file in any way and you CANNOT open the input file multiple times! The idea is to have you use tables to solve
this problem. Some of you will read the
data, sort it and use the single control break algorithm already written from
lab4. You do NOT have to solve the problem
this way. You might decide to read the
data in and search through the table to obtain the information in group
format. However, keep in mind that the
groups can change and your program should still work!
INPUT: Use
the lab2 input file (either lab2carin.dat or lab2player.dat). Same rules from previous labs apply!
When you are finished with the lab, submit the following
files for grading:
See Lab1 for information on how to use a submit command. Also, note that programs must be submitted in
source code form. For example, if you submit "lab2.acu" instead of
"lab2.cob", you will have, at a minimum, points deducted equivalent
to submitting a day late (20%).
See Lab1 for information about deleting unnecessary files.