Page 1 of 1
3. You have been given a file with two columns: a name and an integer (whole number) repre- senting how many minutes a u
Posted: Fri May 20, 2022 11:13 am
by answerhappygod

- 3 You Have Been Given A File With Two Columns A Name And An Integer Whole Number Repre Senting How Many Minutes A U 1 (44.45 KiB) Viewed 54 times
3. You have been given a file with two columns: a name and an integer (whole number) repre- senting how many minutes a user spent playing a particular game in the last 24 hours. The file will look something like: Erik 10 Laila 46 Tien 367 It is not known at the outset how many rows are in the file, however the file will be terminated by EOF (end of file).
C) ** [4 marks] Rewrite your algorithm using pseudocode. There is one change to be made: this time you should calculate the average time spent in the game instead.