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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

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

Post 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 21 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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply