Easy
Price With a Default VAT
Write
with_vat(price, rate=15) that returns price plus rate percent. Read a price, print with_vat(price), then with_vat(price, 5), both with 2 decimals.Input
One number.
Output
Two lines.
Sample 1
Input
100
Output
115.00 105.00
Sample 2
Input
250
Output
287.50 262.50
Output appears here