akosiraff

Download studentAverage Answer

Nov 4th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1.  
  2. Download: https://solutionzip.com/downloads/studentaverage/
  3. Develop a program that reads students’ grades from a file named “studentdata.txt’, and writes their names and average into a new file named “studentaverage.txt’. Round the numbers to the closest integer.
  4. The following sample file called studentdata.txt contains one line for each student in an imaginary class. The student’s name is the first thing on each line, followed by some exam scores. The number of scores might be different for each student.
  5. studentdata.txt sample file content
  6. Joe 10 65 80 90 100
  7. Bill 83 76 69 72
  8. Sue 98 72 77 84 52 97 94 91 99
  9. Grace 82 21 75 90 98
  10. studentaverage.txt sample file content
  11. Joe 69
  12. Bill 75
  13. Sue 85
  14. Grace 73
  15.  
  16. Download: https://solutionzip.com/downloads/studentaverage/
Add Comment
Please, Sign In to add comment