Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace Converter_USD_BGN
- {
- class Program
- {
- static void Main(string[] args)
- {
- Console.Write("Enter value in USD: ");
- double usd = double.Parse(Console.ReadLine());
- double bgn = usd * 1.79549;
- Console.Write("The value in BGN is: ");
- Console.WriteLine(Math.Round(bgn, 2));
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement