Create a text file that contains student number (9-digit number), name , and GPA (a floating point number greater than 0.0).
Then write a C++ program that uses the file you created above to do the following:
a. Use loop to display the content of the file in a tabular format with the first row being a header row.
b. Display Average for students’ GPA.
c. Use While loop to display the list of all students with GPA less than 3.
d. Prompt the user to input certain name, then write to a file (names.txt) the number of all students with the same name.
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment