Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

using c + + Requests and Reads in the input from the keyboard, of at least 5 student names with at least 3 test scores

using c
+
+
Requests and Reads in the input from the keyboard, of at least
5
student names with at least
3
test scores
(
each a value between
0
and
1
0
0
)
for each of the students.
2
.
Creates a file and Saves those inputs in that file
(
see the example input file on the right
)
.
3
.
Then opens that input file, reads that data back into the program and processes it to calculate the grade point average
(
out of
1
0
0
)
.
4
.
Writes the output back to another file
(
see the example output file below
)
.
Makesure the output format is neat and follows a column format with proper column headings
I have a code that is running. However the output is not giving me what I would like. I need a portion of a code that will take the grades that have been input and calculate the gpa. It is also showing only one student's name, their first score, and printing this information in what seems to be an infinite loop. Also, I cannot use any built in data structures for C++ standard library. So I cannot use vector, list, stack, etc.
Any help solving this would be much appreciated.

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

Rules In Database Systems Third International Workshop Rids 97 Sk Vde Sweden June 26 28 1997 Proceedings Lncs 1312

Authors: Andreas Geppert ,Mikael Berndtsson

1997th Edition

3540635165, 978-3540635161

More Books

Students also viewed these Databases questions