Write An Essay logo
  • Home
  • Dissertation Writing
  • Essay Writing
  • Personal Statement
  • My account
  • Order now
Order Now
Homework Help

C++ grade distribution problem solution

2 min read
Posted on 
May 3rd, 2022
Home Homework Help C++ grade distribution problem solution

Create a file “values.txt” contains the following data: 88 85 89 64 78 85 92 60 91 96 63 59 83 89 74 93 92 92 63 100

 

 

 

You will write a program that will give you the following output:

 

 

 

Lowest       Highest           Average

 

59               100                 81.8

 

 

 

Grade Distribution

 

50~59: 1

 

60~69: 4

 

70~79: 2

 

80~89: 6

 

90~100: 7

 

 

 

Make sure your program is clear with no syntactical errors, correctly uses i/o syntax, correctly uses branching and looping syntax, that it contains functions with correct parameters and return values, that it correctly uses arrays, and that you provide useful comments throughout your program. You must use basic elements of the programming language, use of include files, use of a working main function, declaration and use of data types. You must produce a program that will compile and execute without syntactical errors. You must use input and output mechanisms by processing an input file and saving the contents of the file into an array. You must create and initialize two arrays using the appropriate data type, one array for storing the input data from file, another one for grade distribution. You must be able to access individual array elements and be able to retrieve their information to produce program output. You must use branching mechanisms to include if, else, or switch statements and use looping mechanisms to solve the grade distribution problem. Your program must have four functions: lowest, highest, average, and gradeDistribution. You must include comments explaining your choice of parameters and return types for

all of your functions.

 

 

Order an Essay Now & Get These Features For Free:

Turnitin Report

Formatting

Title Page

Citation

Outline

Place an Order
Share
Tweet
Share
Tweet
Calculate the price
Pages (275 words)
$0.00
Write An Essay
Company
  • Why Choose Us
  • About Us
  • Terms
  • Dissertation Help
  • Personal Statement
  • Research Paper Format
  • Term Papers
Legal
  • Write My Essay
  • Thesis Format
  • Custom Papers
  • Coursework Writing
  • Dissertation Writing
  • Essay Writing
How Our Service is Used:
Write An Essay essays are NOT intended to be forwarded as finalized work as it is only strictly meant to be used for research and study purposes. Write An Essay does not endorse or condone any type of plagiarism.
Subscribe
No Spam
© 2023 Write An Essay. All rights reserved.
Write An Essay will be listed as ‘Write An Essay’ on your bank statement.