subject

Read student data in the form Jane Lee 100 98 97 100 Aaron X. Schmidt 37 42 49 54 Frank von Tardy 2 3 10 7 Use getline to read the name of the student. Then read the next line and convert it to an input string stream. Read the numbers from the input stream, adding them to the total. Print the name and total score for each student. Complete the following file: students. cpp 1 2 3 4 #include #include #include using namespace std; 5 6 7 8 int main() { cout << "Input file: " << endl; string input_file_name; cin >> input_file_name; 9 10 11 12 13 14 15 16 17 18 19 20 21 22 string student; while (getline (in, student)) { cout << student << ": << total << endl; } return 0; } Submit

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:30
Who needs to approve a change before it is initiated? (select two.) -change board -client or end user -ceo -personnel manager -project manager
Answers: 1
question
Computers and Technology, 22.06.2019 23:30
What is the digital revolution and how did it change society? what are the benefits of digital media?
Answers: 1
question
Computers and Technology, 23.06.2019 00:10
My has been slow anyone else’s ?
Answers: 1
question
Computers and Technology, 23.06.2019 21:00
Alcohol’s affects on the cornea and lens of the eye make it more difficult
Answers: 1
You know the right answer?
Read student data in the form Jane Lee 100 98 97 100 Aaron X. Schmidt 37 42 49 54 Frank von Tardy 2...
Questions
question
History, 13.10.2020 01:01
question
Chemistry, 13.10.2020 01:01
question
Health, 13.10.2020 01:01
question
Mathematics, 13.10.2020 01:01
Questions on the website: 13722360