Earn Higher Grades With Instant Assignment Help.Ask Question!

Visual Studio Programming
(5/5)

write a program that reads the grades from the file and displays the number of scores in the “A” range (90-100) “B” range (80-89)

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

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

 

  • “A” range (90-100)
  • “B” range (80-89)
  • “C” range (70-79)
  • “D” range (60-69)
  • “F” range (below 60)

 

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.

Attachments:
(5/5)

Related Questions

CSI 1420 Introduction to C Programming & Unix Fall 2018, CRN 44882, Oakland University Homework Assignment 6 - Using Arrays and Functions in C

DescriptionIn this final assignment, the students will demonstrate their ability to apply two majorconstructs of the C programming language – Fu

The standard path finding involves finding the (shortest) path from an origin to a destination, typically on a map. This is an

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. This program will have two classes, a LineItem class and a Transaction class. The LineItem class will represent an individual

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

SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

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

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 Sea Ports. Here are the classes and their instance variables we wish to define:

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

Ask This Assignment To Be Done By Our ExpertsGet A+ Grade Solution Guaranteed

expert
joyComputer science
(4/5)
12 Answers Hire Me
expert
Robert DLaw
(4.8/5)
739 Answers Hire Me
expert
Dr Samuel BarberaStatistics
(5/5)
591 Answers Hire Me
expert
Tutor For YouEconomics
(5/5)
553 Answers Hire Me