Page 1 of 1

2. (40 pnts) Read a "students.txt" file where in each line a name and surname is stored. Get from the user the score of

Posted: Thu May 05, 2022 1:01 pm
by answerhappygod
2 40 Pnts Read A Students Txt File Where In Each Line A Name And Surname Is Stored Get From The User The Score Of 1
2 40 Pnts Read A Students Txt File Where In Each Line A Name And Surname Is Stored Get From The User The Score Of 1 (34.37 KiB) Viewed 23 times
2. (40 pnts) Read a "students.txt" file where in each line a name and surname is stored. Get from the user the score of each student and write the resulting grades to a "grades.txt" in tabular form. Use struct student { char str_name [20]; char str_surname [20]; int score; } to save read information. Sample run: C\work/lecturexyz taltrunk2021 2022\spring\introduction to computer programming i Mehmet Abidinoglu: 71 Anil Akbas: 73 Elif Akcayir: 71 Zehra Akdemir: 62 Mustafa Akkaya: 63 Ceren Akkus: 85 Kubilay Aksel: 84 Emre Asik: 81 Ilyas Aslan: 86 Process exited after 14.07 seconds with return value 8 Press any key to continue A view from the resulting "grades.txt": grades-Notepad File Edit Format View Help Mehmet Abidinoglu 71 Anil Akbas 73 Elif Akcayir T Zehra Akdemir Mustafa Akkaya Ceren Akkus Kubilay Aksel Emre Asik Ilyas Aslan ****** 71 62 63 85 84 81 86