ECE1113 Assignment#3
ECE1113 Assignment#3
Semester I 2009/2010
You are free to choose the way you like to solve the problem, but make sure your program
performs the required tasks. Besides, you need to include any necessary comments to describe
the next statement that you write. You are also asked to submit the hardcopy of your assignment
and including program and its output. Finally, if you need to get a free bonus, then forward
softcopy of your assignment to my email ([email protected]) and mention your details in it
(Matric No. and Section).
NOTE:
Write a program that will allow the user to enter the results of TEST1 for (Computing
Systems and Programming) subject and store them in a data file named TEST1.txt. The
data file “TEST1.txt” should have the following format:
Finding the maximum and the minimum marks and print them with their corresponded
Matric No. and Name on the screen.
Sorting the marks in a descending format.
Calculating the average mark
Calculating the number of the students who have marks higher than the average.
Hint:
1. You may start by creating a text file using the notepad and name it “TEST1”, then write
the given format “Matric No., Name and Mark” in the first line with a tab space between
each other.
2. You will also need to use the arrays to manipulate the data to write the request code.