LAB6             Car Buying or Football PROJECT        CSE314 Spring 2005

Assigned

Due

Goals

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!

OUTPUT:  same as designated in lab4

Submitting Project Files

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%).

Deleting Unnecessary Files

See Lab1 for information about deleting unnecessary files.