CIS 210 Fall 2010.assignment.7

CIS 210 Fall 2010.assignment.7 - assignment use the quick...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
CIS 210 Fall 2010 Assignment 7 Due: November 29, 2010 Write a program that has a main program and four functions. The functions are: 1. Reads a set of integer numbers from a file called sort into an array of integers. Use a technique discussed in class to find the end of the file. Count the number of numbers entered. 2. Sorts the array of numbers using the bubble sort. For extra credit equal to one
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: assignment use the quick sort. 3. Append the sorted numbers back onto the file sort. 4. Print out the original numbers and sorted numbers on the screen as follows a 1 sort-a 1 a 2 sort-a 2 a 3 sort-a 3 … Turn the listing of your program, screen shot of the two arrays on the monitor and copy of the file before and after sorting. NO assignments will be accepted after December 3....
View Full Document

This note was uploaded on 02/05/2012 for the course CIS 210 taught by Professor Feinstein during the Fall '10 term at S. Alabama.

Ask a homework question - tutors are online