Skip to content

fifa task

@fifa task

Features

Read a CSV file into parallel arrays
Count occurrences
find max
The project on this page is an exercise on reading data from a CSV file.

developer task

Use techniques from the previous Council CSV example to develop a program to handle FIFA football details. The program requirement is described below.

program requirement: read a CSV file (example)

read the list of value sets and display them
each set includes a national team, the group and the number of points gained in the competition
for example: France is in group A and has gained 9 points
there are 24 teams in the competition
count the number of teams which gained 0 points
find the team with the most points, display the name and group for that team

file contents looks like this: the group, the name of the national team, the number of points gained

program code

Want to print your doc?
This is not the way.
Try clicking the ··· in the right corner or using a keyboard shortcut (
CtrlP
) instead.