Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace SoftUni
- {
- class Program
- {
- static void Main(string[] args)
- {
- short bitcoin = short.Parse(Console.ReadLine());
- double chineseYuan = double.Parse(Console.ReadLine());
- double com = double.Parse(Console.ReadLine());
- double euro = ((bitcoin * 1168.0d)/1.95d);
- euro += ((chineseYuan * 0.15d) * 1.76d) / 1.95d;
- com = (euro / 100) * com;
- Console.WriteLine("{0:F2}",euro - com);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement