Project on SORTING TECHNIQUES

Course: CSE 103
Project Number: 3
NSD Due Date: week prior to the program deadline
Project Due Date: (see the calendar on Angel)
Project Filename: a:sorter.bpr
Program Filename: a:sorter.cpp
Output Filename: a:sorter.txt
Project Objective: To utilize modularization and arrays.
Problem: Write a modularized C++ program that will sort a set of scores in descending order using Bubble Sort I / Bubble Sort II / Exchange Sort.   Store the scores in an array.
Input: Enter the following scores interactively:
100, 94, 59, 83, 7, 11, 92, 76, 37, 89, 74, 59, 65, 79, 49, 89, 89, 75, 64, 82, 15, 74, 82, 68, 92, 61, 33, 95, 91, 82, 89, 64, 43, 93, 86, 65, 72, 40, 42, 90, 81, 62, 90, 89, 35, 81, 48, 33, 94, 81, 76, 86, 67, 70, 100, 80, 83, 78, 96, 58
Try another set of scores.
Output: The output textfile should show the original unsorted list of scores as well as the sorted list of scores in descending order.
Reminder: Follow General Instructions for Programming and the Basic Formatting Guidelines.

© 1998-08-31 cpsm ; last update 2003-11-03 11:16