Open lespabrandzulic82 opened 6 years ago
@lespabrandzulic82,
I have changed my code based on comments above. The logic is following: Based on information which each candidates enters(age, position in team, height, number of assistentions, number of jumps and average score per game) system accepts or rejects his application. There are some criteria for each position-for position play: player needs to be older than 25 years, shorter than 200 cm and needs to have more than 6 assistentions per game in last season; for position small forward: player needs to be older than 20 years, taller than 190 cm and needs to have more than 12 points per game in last season; for position center: player needs to be older than 28 years, taller than 205 cm and needs to have more than 7 jumps per game in last season. @valentinacupac
@lespabrandzulic82, it's better now, but still some improvements:
I have changed my code based on logic above, I put ">" for years now. Regarding other comments, it is corrected, too. @valentinacupac
@lespabrandzulic82:
In the basketball dictionary, it says assist, but I have put in the assistance's. What do you mean spelling number ? @valentinacupac
@lespabrandzulic82, thanks for the clarification and update.
Remaining points:
Ok, I corrected it. Can you see the version with OOP, if it needs to be done differently? I had a dilemma about the scanner, should It go to the Player class maybe...? @valentinacupac
@lespabrandzulic82, correct now, closing ticket.
P.S. For OOP version, that should be a separate ticket.
Hi @lespabrandzulic82,
I've added a new requirement for this task for everyone, add support for multiple candidates, so usign ArrayList.
Thanks, Valentina
I have made array list for this project and merged two projects in one. Please take a look. Thanks. @valentinacupac
@lespabrandzulic82, as can be seen here https://github.com/alptium/branko.spalovic there are now 3 projects for Elite Sports Selector, please re-check your merge.
now i have just one project !@valentinacupac
hey @valentinacupac ,I have done this task, could you take a look and let me know if I need to make some changes?