Lab Project 3– For Loops, Arrays & Procedures Project
Create a text file, “Final.txt” that contains 25 student grades on a final exam:
78,85,50,93,88,97,55,72,81,90,80,46,77,86,66,72,65,83,90,77,81,78,50,53,87
Each grade should be on a separate line with no commas
Then write a program that reads the grades from the file and displays the number of scores in the
Also list the highest score, lowest score, the average (mean) score and the percentage of the grades that fall above the average.
The name of the project must have your name in it.
The following constructs are required (in parenthesis are suggested places to use constructs)
Do Loop (reading file, count number of grades)
Array (store grades)
Subroutine (update count for each letter grade)
Select Case (Update count for each letter grade)
High Score, Low score, Average and % above average must be figured out within the program.
DO NOT USE ARRAY SHORTCUTS (min, max sum or average)
Do not use more than 2 loops. Make sure the second loop is the right kind of loop.
Hints:
1) You can not figure out the average until after you have read in all of the test scores.
2) After figuring out the average you must read the array in another loop to figure out how many are above average.
DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma
Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t
Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th
1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of
1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of