DeepPlay FC registered fifteen (15) players for the 2020-2021 football season. After enrollment, players are paid every week from the club’s head office in Kumasi. Players total earnings for the week is calculated based on their regular weekly wage and their performance bonus. The Regular weekly wage is the amount each player receives every week per their individual contracts (based on their transfer value). Alongside the Regular wage, players may receive bonuses for each goal scored (Goal Bonus), number of matches played (Match Bonus) and number of clean sheets kept (Clean Sheet Bonus– for only defenders and goal keepers) as follows:
BONUS
VALUE
Goal Bonus
Match Bonus Clean Sheet Bonus
GHC 2000.00 per Goal
0.05% of player’s Regular Wage 0.07% of player’s Regular Wage
In an attempt to avoid a lot manual paper work and its associated errors and inconsistences, management has decide to automate the player management process for the team. The first step is to tackle the player earnings processing system.
You are tasked to develop the portion of this app, create a Visual Basic Application that will take as input for each player, his/her First Name, Last Name, Position, regular weekly wage, Number of goals scored for the week, number of matches played, and number of clean sheets, to display a list of players with their corresponding Goal Bonuses, Match Bonuses, clean sheet bonuses, and the total weekly earnings for each player.
Also, the app must display the full names of the player with the highest and the lowest weekly earnings alongside their earnings; the average weekly player earning; the total weekly wage bill for the team as well as any other information you may deem necessary(at least 2 outputs here).
Comments
Leave a comment