Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

ASSIGNMENT 2B Write a program [YourNamel-Assignment2B (replace [YourName] with your actual name, no spaces) that reads from a file (with variable number of records) students

image text in transcribed

image text in transcribed

ASSIGNMENT 2B Write a program [YourNamel-Assignment2B (replace [YourName] with your actual name, no spaces) that reads from a file (with variable number of records) students records (one student per line) in the following format LastName Tests Grade Assignments Grade and computes and outputs (to the console) the STUDENT STATISTIcS for each student (one student per line) gnments Grade Total Point Numeric Grade Letter Grade Student Name Tests Grade Assi The program should also compute and output (to the console) CLASS STATISTICS (for the entire class): the number of students4 (row Number) and the average numeric grade (row Average) among all students All columns should be aligned to the left and all floating-point values are between 0 and 100 and should have 2 decimals. For example, here is the how the output will look for the input bellow Sample input data file: Sample console output: STUDENT STATISTICS: Student Name Anderson Tests Assignments Tota.l Grade Grade 91.50 95.00 75.50 90.00 55.00 30.00 95.00 85.00 80.00 100.00 55.00 90.00 93.60 90.50 65.00 60.00 100.00 95.50 75.00 90.00 75.00 85.00 55.50 80.00 Numeric Letter Grade Points Grade 186.50 93.25 165.50 82.75 42.50 180.00 90.00 180.00 90.00 145.00 72.50 184.10 92.05 125.00 62.50 195.50 97.75 165.00 82.50 160.00 80.00 135.50 67.75 178.50 89.25 195.00 97.50 155.00 77.50 Anderson Blake Cruz Dang Farris Garcia Hadad Ionescu Johnson Kaloo 100 93.6 90.5 100 95.5 Cruz Dang Engbe Farris Garcia Hadad Ionescu Johnson Kaloo Mikhailov Nguyen O'Neil 95 83.5 100 Mikhailov 95.00 83.50 Nquven O'Neil CLASS STATISTICS: Number: Average: 95.00 100.00 85.00 70.00 Your program should work on the attached StudentsGrades.txt (do NOT change the name or edit the file) and any other files that have the correct format, thus, do not hardcode the output or the number of students You should write the program in Visual Studio 2017 (using only concepts learned in class) and you should call your project YourName-Assignment2B (replace YourName with your actual name, no spaces) Create a Microsoft Word document called YourName-Assignment2B-Screenshots.docx (replace YourName with your name, no spaces) that contains screenshots of your entire C++ code (take multiple screenshots if the code is larger than one screen), and the entire console output for the attached StudentsGrades.txt (take multiple screenshots if the output is larger than one window) SUBMIT your YourName Assignment2B.cpp Visual Studio 2017 C++ source code and YourName Assignment28- Screeshots.docx screenshots document files under Assignment2B on eCampus. Do not archive the files or submit other file formats

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Management An Organizational Perspective

Authors: Richard T. Watson

1st Edition

0471305340, 978-0471305347

More Books

Students also viewed these Databases questions

Question

a. What is the purpose of the team?

Answered: 1 week ago

Question

b. What are its goals and objectives?

Answered: 1 week ago