Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- class Program
- {
- static void Main()
- {
- int workDaysInMonth = int.Parse(Console.ReadLine());
- double moneyMakedForTheDay = double.Parse(Console.ReadLine());
- double USDToLEV = double.Parse(Console.ReadLine());
- double monthSalary = workDaysInMonth * moneyMakedForTheDay;
- double yearSalary = monthSalary * 12 + monthSalary * 2.5;
- double taxes = 0.75 * yearSalary * USDToLEV / 365;
- Console.WriteLine("{0:F2}", taxes);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement