bonus amount = 20% of basic salary gross salary = bonus amount + basic salary
Input 1: 50000 Output: Bonus: 10000 Gross: 60000 Input 2: 2500 Output: Bonus: 500 Gross: 3000 Input 3: 32500 Output: Bonus: 6500 Gross: 39000
Below is the implementation of the above approach.
Basic Pay: 50000 Bonus: 10000 Gross: 60000
My Personal Notes arrow_drop_up
Please Login to comment...