Write the pseudocode for an application that will pass the number of games a

player has played to a module which will calculate the net salary of a player.
A player earns R70 000 per game and as the players fall within a higher tax bracket,
they automatically pay 25% tax on their earnings. The net salary will be passed
back to the mainline logic of the application which will display the net salary of a
player.
(13)
Q.4.2 Within the context of the Sports Administration application, describe one example
of a situation where overloaded methods could be used.

1 answer

Module calculateNetSalary(numGames)
earnings = numGames * 70000
tax = earnings * 0.25
netSalary = earnings - tax
return netSalary

Mainline Logic
display "Enter the number of games played: "
input numGames
netSalary = calculateNetSalary(numGames)
display "Net salary: " + netSalary
Similar Questions
    1. answers icon 1 answer
  1. Question 4 (Marks: 15)Answer all questions within the context of the Sports Administration application. Q.4.1 Write the
    1. answers icon 1 answer
  2. I need to create a pseudocode for the follwing application:Write Java-like pseudocode to specify the logic for the following
    1. answers icon 0 answers
    1. answers icon 1 answer
more similar questions