[Solution] Discount Codechef Solution
Problem
Alice buys a toy with a selling price of rupees. There is a discount of percent on the toy. Find the amount Alice needs to pay for it.
Input Format
- The first line of input will contain a single integer , denoting the number of test cases.
- The first and only line of each test case contains a single integer, — the discount on the toy.
Output Format
For each test case, output on a new line the price that Alice needs to pay.
Explanation:
Test case : The discount is percent, i.e. rupees. So, Alice will have to pay rupees.
No comments:
Post a Comment