You were hired to create a registration system for the athletes of Oman Sports Association. The program will start by asking the team name, the game name, and the number of players. The number of players will indicate the number of times registration fee is to be entered by the user. Store the registration fee in a list called Registration. The uniform allowance has a fixed value of 12 OMR. Compute for the accident insurance. If the registration fee is more than 175 OMR, the accident insurance is computed as 85% of the registration fee, otherwise it is 50% of the registration fee. Store the computed accident insurance in a list called Insurance. Finally, compute for the team allowance which is computed as registration fee plus accident insurance plus uniform allowance. Store the team allowance in a list called Allowance. Display the following: a. Value of the three lists. b. Highest allowance c. Lowest accident insurance d. Sum of all registration fee
You were hired to create a registration system for the athletes of Oman Sports Association.
The program will start by asking the team name, the game name, and the number of players. The number of players will indicate the number of times registration fee is to be entered by the user. Store the registration fee in a list called Registration.
The uniform allowance has a fixed value of 12 OMR.
Compute for the accident insurance. If the registration fee is more than 175 OMR, the accident insurance is computed as 85% of the registration fee, otherwise it is 50% of the registration fee. Store the computed accident insurance in a list called Insurance.
Finally, compute for the team allowance which is computed as registration fee plus accident insurance plus uniform allowance. Store the team allowance in a list called Allowance.
Display the following:
a. Value of the three lists.
b. Highest allowance
c. Lowest accident insurance
d. Sum of all registration fee
Step by step
Solved in 2 steps with 2 images