#t158. 找零钱
找零钱
Making Change
Problem Description
An item costs yuan. A customer pays a certain amount; compute the change that should be given back.
The input is the amount paid; print the change due.
Input Format
The input consists of one line containing a real number: the amount paid (in yuan).
Output Format
Print one line in the format:
应找您xxx元
where xxx is replaced by the actual change, kept to two decimal places. The surrounding Chinese characters must be printed exactly as shown — the judge compares them character by character, so do not translate them in your output.
Sample Input
150
Sample Output
应找您50.00元
Constraints
The amount paid is yuan (guaranteed to be enough to buy the item).
Hint
- The input is a real number; read it with
double. - Change = amount paid − 100. The output is "text + number + text" concatenated, kept to two decimal places.
- Check against the sample:
150→应找您50.00元.