31 lines
No EOL
1.1 KiB
Text
31 lines
No EOL
1.1 KiB
Text
[](https://classroom.github.com/a/n4JvyBnw)
|
|
:sectnums:
|
|
:nofooter:
|
|
:toc: left
|
|
:icons: font
|
|
|
|
= Exercise Rep.01 -- EM Qualification Data
|
|
|
|
You have been provided with a file `matches.csv` which contains information about matches played during the qualification for a soccer EM.
|
|
|
|
== Displaying Information
|
|
|
|
This data has to be read and displayed in a specific format to the user.
|
|
|
|
* Make sure to read & parse information from the CSV file properly
|
|
* Handle invalid/corrupted data as well as missing or invalid files
|
|
* Ensure to format the information as shown in the sample below
|
|
|
|
== User Input & Processing
|
|
|
|
The user can enter the name of one of the countries.
|
|
Then all matches this country participated in are displayed (= filtered result set).
|
|
|
|
* The user can only enter one of the existing countries
|
|
* If the user input is invalid it is retried until a valid entry is made
|
|
|
|
TIP: You might find `StringComparison.InvariantCultureIgnoreCase` useful.
|
|
|
|
== Sample Run
|
|
|
|
video::sample.mp4[width=800] |