Question: US PRUGRAM STRUCTURE &DESIGN I (S10) Consder the following code srippec tring name, int scores, istream in file 100in file openResults.xt) Assume that the le
US PRUGRAM STRUCTURE &DESIGN I (S10) Consder the following code srippec tring name, int scores, istream in file 100in file openResults.xt) Assume that the le "Results.t"contains the last names and scores of students, for example, Smith 94 lones 81 What is the legat way of reading a student's name and the students scores in the "Results.our e? Select one o a in file ec name ee scores o b. get linen file, name); in file >> scores; o c in file > name >> scoress od get linein file, name); get linejin file, scores)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
