PDF Archive

Easily share your PDF documents with your contacts, on the Web and Social Networks.

Share a file Manage my documents Convert Recover PDF Search Help Contact



DEVRY COMP 122 Lab 6 Lab Report and Source Code.pdf


Preview of PDF document devry-comp-122-lab-6-lab-report-and-source-code.pdf

Page 1 2 3

Text preview


DEVRY COMP 122 Lab 6 Lab Report and
Source Code

Check this A+ tutorial guideline at
http://www.assignmentcloud.com/comp122/comp-122-lab-6-lab-report-andsource-code
For more classes visit

http://www.assignmentcloud.com
COMP 122 Week 6 iLab
You are to design a program that will allow some number of grades (up to a max of
100) to be input by the user. After the data has been collected, your program should
calculate and output the mean and median of the collected data, as well as the sorted
grade information.
Design Constraints
Use an integer constant of 100 to specify the number of elements in the array you
will use to collect the grade information. Do not use any global variables in your
program. Declare any arrays you need in your main function and pass the arrays as
needed into the functions described below. The main function is the only function
permitted to do any output to the console!!! Do not do cout operations inside of any
other function.
Your data collection loop in your main function must allow the user to enter less
than 100 grades. It must also make sure that the user does not try to enter more than