Submit | All submissions | Best solutions | Back to list |
EIGROSS - Lương trước thuế |
ABC Company pays seasonal salary for employees. However, the company must help the employee to pays income tax, so the salary the employee receives is the after-tax income. Know that the tax rate is 10%. Caculate the tax of each employee.
Input
The first line is the number of people n
Each line in the next n lines contains an integers which is after-tax income
Output
n lines, each line is the amount of tax the company has to pay its employees
Example
Input: 3
9
99.9
18.0
Output: 1.0
11.1
2.0
Added by: | Ha Minh Ngoc |
Date: | 2018-11-21 |
Time limit: | 1s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | CSHARP C++ 4.3.2 CPP CPP14 CPP14-CLANG FSHARP GO JAVA JS-MONKEY NODEJS PHP PYTHON PYPY PYPY3 PYTHON3 RUBY SQLITE SWIFT VB.NET |