read text files

icon picker
examScores

extension task using two files and two arrays, substring, count, find- max/min

input

students
Garrett Dunstall
Arin Bartot
Chadd Wykes
Emmalyn Mc Queen
Gabbie Steanyng
marks
35
89
11
99
5

program requirements

set up suitable parallel arrays for the data
read the two files into the arrays, display the values to check they are read properly
display the list of names but format them like this
Dunstall, G
Bartot, A
Using the above format:
display the people with the top mark and lowest mask
display all the people with at least 50 marks
count the number of people scored more than 70

project code

Loading…
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.