Calculate NetPay when:
1. If hourly rate is 10 and the person worked for 6 hrs, what is his net pay?
2. If hourly rate is 5 and the person worked for 16 hrs, what is his net pay?
3. If hourly rate is 10 and the person worked for 16 hrs, what is his net pay?
Given that deduction rate is 5%
Next problem:
Ask the user their choice of game number and then print, “you have bought game name”Replace name with below game number:
1. Solitaire
2. Doom
3. Monopoly
Check the highest value among the 3 numbers
Assignment: Read marks in 5 subject, calculate average and assign grades based on average.
Avg > 80: Grade A
Avg > 70: Grade B
Avg > 60: Grade C
Avg > 40: Grade D
Avg < 40: Grade E