Question: Please complete the following program using C++. Please use beginner preprocessor directives (dont use stdlib.h or bits/stdc++.h). Thank you! Given the following text files. Each
Please complete the following program using C++. Please use beginner preprocessor directives (dont use stdlib.h or bits/stdc++.h). Thank you!

Given the following text files. Each row consists of student's name and their GPA. Write a program to read one row at a time from the file and store names with GPA3.0 in highStack. Display both stacks in two columns. All names must line up on the left and on the right hand sides. File: data.txt Kevin 2.1 Laura 3.9 Bryan 2.6 Aung 3.4 Aaron 3.4 Alexander 2.9 Anna 3.9 output GPA
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
