desislava_topuzakova

Untitled

Sep 13th, 2021
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. using System;
  2.  
  3. namespace ConvertorUSDtoBGN
  4. {
  5. class Program
  6. {
  7. static void Main(string[] args)
  8. {
  9. const double currQuoteUSDperLev = 1.79549;
  10.  
  11. double usdAmount = double.Parse(Console.ReadLine());
  12. double bgnValue = usdAmount * currQuoteUSDperLev;
  13.  
  14. Console.WriteLine(bgnValue);
  15.  
  16. }
  17. }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment