Description
Hi guys, thank you in advance for the help that you give me, I'll explain my situation.
I comed from Android but I'm a newbie in programming in general.
I am now in contact with Java.
I have to develop an app that given as input a CSV file with 6 fields such as fact:
Keyword, Competitor, Search Engine, Position, Web Page, Changes,
beer, 27300000, Google Universal Italy, 3, http:/www.albanesi.it/, +
ale, 7300000, Google Universal Italy, 1, http:/it.wikipedia.org/wiki/Birra, +,
ale, 7300000, Google Universal Italy, 2, http:/www.yahoo.it, +,
ale, 7300000, Google Universal Italy, 3, http:/www.ciao.it, +
dark beer, 300000, Google Universal Italy, 1, http:/www.birra.it, +,
dark beer, 300000, Google Universal Italy, 2, http:/www.wikipedia.it, +,
dark beer, 300000, Google Universal Italy, 3, http:/www.yahoo.it, +
First parse the csv file and then I have to do a ranking by assigning a score to each site based on the position he occupies for each keyword.
wikipedia: 8 points ( 3 beer + 3 ale + 2 dark beer)
birra: 5 points (2 beer + 3 dark beer)
yahoo: 3 points (2 ale + 1 dark beer)
albanesi: 1 point
The output file with the ranking must be CSV.

Explanation & Answer

Thank you for the opportunity to help you with your question!
In most cases, the discipline is self-governed by the entities which require the programming, and sometimes very strict environments are defined
