Advertisement
Guest User

Untitled

a guest
Aug 27th, 2017
274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.50 KB | None | 0 0
  1. using System;
  2. class Program
  3. {
  4.     static void Main()
  5.     {
  6.         int workDaysInMonth = int.Parse(Console.ReadLine());
  7.         double moneyMakedForTheDay = double.Parse(Console.ReadLine());
  8.         double USDToLEV = double.Parse(Console.ReadLine());
  9.  
  10.         double monthSalary = workDaysInMonth * moneyMakedForTheDay;
  11.         double yearSalary = monthSalary * 12 + monthSalary * 2.5;
  12.         double taxes = 0.75 * yearSalary * USDToLEV / 365;
  13.  
  14.         Console.WriteLine("{0:F2}", taxes);
  15.     }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement