koksibg

Money

Jul 19th, 2016
637
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.67 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace Money
  8. {
  9.     class Money
  10.     {
  11.         static void Main(string[] args)
  12.         {
  13.             double Bit = double.Parse(Console.ReadLine());
  14.             double CNY = double.Parse(Console.ReadLine());
  15.             double Comision = double.Parse(Console.ReadLine());
  16.             double Leva = Bit * 1168 + CNY * 0.264;
  17.             double Evro = Leva / 1.95;
  18.             double ComisionUnit = Comision / 100 * Evro;
  19.             double ResultConvert = Evro - ComisionUnit;
  20.             Console.WriteLine(ResultConvert);
  21.         }  
  22.     }
  23. }
Add Comment
Please, Sign In to add comment