#SCCCIE000020. Tăng lương (Salary Increase)
Tăng lương (Salary Increase)
Salary Increase
Source: beecrowd
Version: Phuoc Hung OJ Extended
Problem Statement
Given a current salary, the raise is up to , up to , up to , up to , and above . Compute the new salary, the raise amount, and the percentage.
Input
One line contains the salary, possibly with two digits after the decimal point.
Output
Print three lines exactly as Novo salario: ..., Reajuste ganho: ..., Em percentual: p %; monetary values must have two digits after the decimal point.
Subtasks
- Subtask 1 (100%):
Examples
Example 1
Input
400.00
Output
Novo salario: 460.00
Reajuste ganho: 60.00
Em percentual: 15 %
Explanation
For the sample values 400.00, evaluating the conditions in the statement gives Novo salario: 460.00 / Reajuste ganho: 60.00 / Em percentual: 15 %. Therefore the program prints the shown output.
Example 2
Input
800.01
Output
Novo salario: 880.01
Reajuste ganho: 80.00
Em percentual: 10 %
Explanation
For the sample values 800.01, evaluating the conditions in the statement gives Novo salario: 880.01 / Reajuste ganho: 80.00 / Em percentual: 10 %. Therefore the program prints the shown output.