Design and code a solution to a problem to demonstrate the use of files, loops, decisions and performing some simple calculations.
Programming Assignment 2
Objective:
Design and code a solution to a problem to demonstrate the use of fles, loops, decisions and performing some simple calculations.
Something New: A design document will be required and submitted prior to beginning to code. The design document may be a flow chart or written out as an algorithm in pseudocode.Quite often the code will evolve to be a little
(or maybe a lot) different than your initial design. That is okay...I want to capture you first opinions and ideas about how the program will work before you begin coding.
Something else new: I am giving minimal instructions. It is up to you to come up with a design,code it,properly format the code
for readability, and output the required data in a neat and readable way.
Instructions:
1. Prepare and turn in your initial design documentation prior to beginning to code (txt, doc, docx, xlsx
png,jpg, pdf).
2. Prompt the user for the name of the data file to process. 3. For each student in the file, display 1) the student's name,2) the score and 3) and the corresponding Ietter grade. Letter grades use a 10-point scale, 90-100 = A, etc. 4. Output the Class average.
Challenge (Optional) Additionally, output the names and scores of the students having the highest and the lowest scores.
Work Products:
1. Design and submit a solution BEFORE you begin to code! (txt, doc, docx, xlsx, png, jpg, pdf). 2. C++ program file containing your solution (cpp)
Hints:
1. Input file Scores.txt , has been provided for this program. Analyze the file to determine how to best
read the data
2. Be sure you have addressed the 6 areas of the Rubric (grading scheme) for Programming Assignments 3. Don't forget that the style and readability of the code and output will also be graded.