(a) Write a program that will prompt a user to enter fifty (50)students informat
ID: 3618313 • Letter: #
Question
(a) Write a program that will prompt a user to enter fifty (50)students information, whichwill be written to a file called studentsinfo.txt. The filecontains students’ name, age and
final grade. This file should store fifty (50) students.
(10 marks)
(b) Write a program that will read from a file studentsinfo.txt andfind the average of the
class.
(15 marks)
[Total 25 marks]