Problem: Converter – USD to BGN

Write a program for conversion of US dollars (USD) into Bulgarian levs (BGN). Round the result to 2 digits after the decimal point. Use a fixed rate between a dollar (USD) and levs (BGN): 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.org/Contests/Practice/Index/504#10.

results matching ""

    No results matching ""