Comp122 Lab 6 Lab Report and Source Code Essay

1634 Words Dec 17th, 2015 7 Pages
COMP122 LAB 6 LAB REPORT AND SOURCE CODE
To purchase this visit following link: http://www.activitymode.com/product/comp122-lab-6-lab-report-and-source-code/ Contact us at:
SUPPORT@ACTIVITYMODE.COM
COMP122 LAB 6 LAB REPORT AND SOURCE CODE
COMP122
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
…show more content…
In order to find the median, this function will need to sort the original data. The simplest sorting procedure is called bubble sorting. The following pseudocode describes bubble sorting for X valid array elements.
COMP122 LAB 6 LAB REPORT AND SOURCE CODE
To purchase this visit following link: http://www.activitymode.com/product/comp122-lab-6-lab-report-and-source-code/ Contact us at:
SUPPORT@ACTIVITYMODE.COM
COMP122 LAB 6 LAB REPORT AND SOURCE CODE
COMP122
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 100 grades. Each data value entered should be checked to make sure it is

Related Documents