JavaScript required
We’re sorry, but Coda doesn’t work properly without JavaScript enabled.
Skip to content
Gallery
csHjavaA-2019
about this document
revision
traverse and process
standard algorithms
Parallel Arrays
read text files
write text files
CSV files
Letter frequency
development workflow
indices
More
Share
Explore
read text files
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…
input
program requirements
project code
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
Ctrl
P
) instead.