Write a program that takes as input a file and outputs anotherfile. The input fi
ID: 3617417 • Letter: W
Question
Write a program that takes as input a file and outputs anotherfile. The input file will be Joe Doe 87 89 60 90 95. Output file will be Joe Doe Testscores: 87 89 60 90 95 Average test score: 84.2 Write a program that takes as input a file and outputs anotherfile. The input file will be Joe Doe 87 89 60 90 95. Output file will be Joe Doe Testscores: 87 89 60 90 95 Average test score: 84.2Explanation / Answer
please rate - thanks #include #include using namespace std; int main() {int grade,sum=0,i; string name; ifstream in; ofstream out; in.open("input.txt"); if(in.fail()) { coutRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.