Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Student Grade Calculator Implement in C++ a Student Letter Grade Calculator program that does the following: Gets the input about each of the Students (first

Student Grade Calculator

Implement in C++ a Student Letter Grade Calculator program that does the following:

  1. Gets the input about each of the Students (first name, last name, testscore1, testscore2, testscore3, testscore4) from an input file. The attached studentScores.txt file is an example input file. Your program shoud work with any other similar format input data! Assume that there is information about 6 students in the input file.
  2. Stores the input in arrays.
  3. Calculates the total, average scores, and letter grades and stores them in arrays.
    1. The letter grade is based on the following grade scale:

Average Score Letter Grade

90 100 A

80 <90 B

70 <80 C

60 <70 D

<60 F

  1. Writes the output (first name, last name, testscore1, testscore2, testscore3, testscore4, total, average, letter grade) to a file and saves it as studentLetterGrades.txt

Note:

  1. Your program must use all the necessary nested loops, and conditional structures.
  2. Make sure you comment appropriately.
  3. Make sure your program is indented properly.
  4. use arrays as needed.
  5. Please make sure you submit the source code file (.cpp).
  6. Use a multi-line comment banner at the top of your program. This banner should have the following:
  1. Your first name and last name
  2. Course number and section number
    1. Semester and year
    2. Assignment name
    3. Description (in your own words) of what the program is all about
    4. Describe what the Input to your program is
    5. Describe what the Output from your program is

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

Step: 3

blur-text-image

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

Programming The Perl DBI Database Programming With Perl

Authors: Tim Bunce, Alligator Descartes

1st Edition

1565926994, 978-1565926998

More Books

Students also viewed these Databases questions

Question

What is meant by decentralisation?

Answered: 1 week ago

Question

Write down the Limitation of Beer - Lamberts law?

Answered: 1 week ago

Question

Discuss the Hawthorne experiments in detail

Answered: 1 week ago

Question

Explain the characteristics of a good system of control

Answered: 1 week ago

Question

State the importance of control

Answered: 1 week ago