Advertisement
Guest User

Harvest

a guest
Jul 28th, 2016
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 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 ConsoleApplication16
  8. {
  9. class Program
  10. {
  11. static void Main(string[] args)
  12. {
  13. int bitcoins = int.Parse(Console.ReadLine());
  14. var chinese = double.Parse(Console.ReadLine());
  15. var commision = double.Parse(Console.ReadLine());
  16.  
  17.  
  18. var totalcashleva = bitcoins * 1168 + chinese * 0.15* 1.76;
  19. var commisionineur= (totalcashleva / 1.95) * (commision / 100);
  20.  
  21. Console.WriteLine("{0:}", (totalcashleva / 1.95) - commisionineur);
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44. }
  45. }
  46. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement