Share your repls and programming experiences

← Back to all posts
REVISED Marathon Runners Project
tr29038 (1)

/Algorithm
Read runner names from file into array
Read corresponding runner miles from file into array
Use the array data to calculate the sum and average of each runner and store the related data into their corrsponding struct member
Write data to output file using a fixed spacing to create a table format
/