https://github.com/training360/java-cc-2022-02-14
Clean code tanfolyam anyaga
https://github.com/training360/java-cc-2022-02-14
clean-code coursework java
Last synced: about 1 year ago
JSON representation
Clean code tanfolyam anyaga
- Host: GitHub
- URL: https://github.com/training360/java-cc-2022-02-14
- Owner: Training360
- Created: 2022-02-14T08:22:18.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-15T14:52:17.000Z (over 4 years ago)
- Last Synced: 2025-02-01T14:46:29.749Z (over 1 year ago)
- Topics: clean-code, coursework, java
- Language: Java
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Clean code
# Első feladat
Part One: Weather Data
In weather.dat you’ll find daily weather data for Morristown, NJ for June 2002. Download this text file, then write a program to output the day number (column one) with the smallest temperature spread (the maximum temperature is the second column, the minimum the third column).
Készíts egy metódust, mely a paraméterként kapott fájl alapján visszaadja, hogy melyik nap volt a legkisebb különbség a napi minimum és maximum hőmérsékletek között!
# Második feladat
Part Two: Soccer League Table
The file football.dat contains the results from the English Premier League for 2001/2. The columns labeled ‘F’ and ‘A’ contain the total number of goals scored for and against each team in that season (so Arsenal scored 79 goals against opponents, and had 36 goals scored against them). Write a program to print the name of the team with the smallest difference in ‘for’ and ‘against’ goals.
Készíts egy metódust, mely a paraméterként kapott fájl alapján visszaadja, hogy melyik focicsapatnál van a legkisebb különbség a rúgott és a kapott gólok száma között.