desislava_topuzakova

01. USD to BGN

Sep 12th, 2021
1,076
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.30 KB | None | 0 0
  1. using System;
  2.  
  3. namespace USDtoBGN
  4. {
  5.     class Program
  6.     {
  7.         static void Main(string[] args)
  8.         {
  9.             double usd = double.Parse(Console.ReadLine());
  10.             double course = 1.79549;
  11.             double bgn = usd * course;
  12.             Console.WriteLine(bgn);
  13.         }
  14.     }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment