Problem: console converter - USD to BGN

Write a program for conversion of US dollars (USD) in bulgarian levs (BGN). Round the result to 2 digits after the decimal separator. Use a fixed rate between a dollar and a lev: 1 USD = 1.79549 BGN.

Sample Input and Output

Input Output
20 35.91 BGN
100 179.55 BGN
12.5 22.44 BGN

Testing in the Judge System

Test your solution here:

results matching ""

    No results matching ""