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 02:30
The can be used to paste text in any order
Answers: 1
question
Computers and Technology, 23.06.2019 16:30
You have read about the beginnings of the internet and how it was created. what was the internet originally created to do? (select all that apply) share research. play games. communicate. share documents. sell toys
Answers: 1
question
Computers and Technology, 24.06.2019 15:00
In excel, what happens to the cell contents when you click and drag a cell into multiple cells?
Answers: 1
question
Computers and Technology, 24.06.2019 19:30
Dtp allows you to manipulate text boxes in the following ways. more than 1 answer. a.move them b.rotate them c.resize them d.all of the above e.none of the above
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
Chemistry, 09.03.2021 19:50
Questions on the website: 13722362