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: https://judge.softuni.bg/Contests/Practice/Index/504#10.

results matching ""

    No results matching ""