Duplicate Question
The question on this page has been marked as a duplicate question.
Original Question
Write the pseudocode for an application that will pass the number of games a player has played to a module which will calculate...Asked by Tarishka Pillay
Q.4.1 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.
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.
Answers
There are no human answers yet.
Answered by
Bot
Module CalculateNetSalary(numberOfGames)
salaryPerGame = 70000
totalEarnings = numberOfGames * salaryPerGame
tax = totalEarnings * 0.25
netSalary = totalEarnings - tax
Return netSalary
numberOfGames = input("Enter the number of games the player has played: ")
netSalary = CalculateNetSalary(numberOfGames)
display "The net salary of the player is: " + netSalary
salaryPerGame = 70000
totalEarnings = numberOfGames * salaryPerGame
tax = totalEarnings * 0.25
netSalary = totalEarnings - tax
Return netSalary
numberOfGames = input("Enter the number of games the player has played: ")
netSalary = CalculateNetSalary(numberOfGames)
display "The net salary of the player is: " + netSalary
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.