Hard
Employee Raises
Write an
Employee class with name and salary, a class attribute raise_rate = 1.10, and apply_raise(). Read n employees; apply the raise once to those earning under 30000 and print each name and salary (int) after.Input
n, then n lines 'name salary'.
Output
n lines.
Sample 1
Input
2 Mim 25000 Rafi 40000
Output
Mim 27500 Rafi 40000
Sample 2
Input
1 A 29999
Output
A 32998
Output appears here