Question: Please provide me with C++ code it's programing Please provide me with C++ code it's programing Please provide me with C++ code it's programing Please

Please provide me with C++ code it's programing

Please provide me with C++ code it's programing

Please provide me with C++ code it's programing

Please provide me with C++ code it's programing Please provide me with

C++ code it's programing Please provide me with C++ code it's programing

Please provide me with C++ code it's programing

Please provide me with C++ code it's programing

Please provide me with C++ code it's programing

1. Create a file named result. txt as shown below. This file contains the results of 10 students for 9 subjects taken by them. Each line of the file contains a student's id followed by her/his grades for subject 1 to 9 . Write a program that opens the result, txt file for input. The program calculates the total number of each grade achieved by each student (in each line of the file). Then, the results are written to the output file named summarizeResult.txt as shown below: 2. Alter the program you've developed for Exercise 1 that prompts the user to enter other students' id and their grades for cach subject. Then print the students' id and their grades by appending to the resuit. txt file. The program calculates the total number of each grade achieved by each new student. Then, the summarized grade results for the new students are appended to the output file named sumarizeResult. txt. Sample input and files are shown below: Sarmple Input : please enter student id and grades for subject 1 to 9: Press ctr1+Z to stop. S11 A A A A A B B B B 512 B B B C C C A A B 513 C C C C B B B D B 514CCDCBBBBB 515 A A A A B B B B B Please refer to the file summarizeResult result.txt with the new students' results : 1. Create a file named result. txt as shown below. This file contains the results of 10 students for 9 subjects taken by them. Each line of the file contains a student's id followed by her/his grades for subject 1 to 9 . Write a program that opens the result, txt file for input. The program calculates the total number of each grade achieved by each student (in each line of the file). Then, the results are written to the output file named summarizeResult.txt as shown below: 2. Alter the program you've developed for Exercise 1 that prompts the user to enter other students' id and their grades for cach subject. Then print the students' id and their grades by appending to the resuit. txt file. The program calculates the total number of each grade achieved by each new student. Then, the summarized grade results for the new students are appended to the output file named sumarizeResult. txt. Sample input and files are shown below: Sarmple Input : please enter student id and grades for subject 1 to 9: Press ctr1+Z to stop. S11 A A A A A B B B B 512 B B B C C C A A B 513 C C C C B B B D B 514CCDCBBBBB 515 A A A A B B B B B Please refer to the file summarizeResult result.txt with the new students' results

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!