Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Program8
- {
- static void Main(string[] args)
- {
- double kwota, b, d, c, h, f, g, e, wyplata;
- Console.WriteLine("Zadanie 8");
- Console.WriteLine("Podaj swój dochód");
- kwota = double.Parse(Console.ReadLine());
- Console.WriteLine("Umowa o gówno");
- b = kwota * 0.0976 + kwota * 0.015 + kwota * 0.0245;
- Console.WriteLine("Składka finansowa pracownika wynosi: {0,-10:F2}", b);
- c = kwota - b;
- d = 0.09 * c;
- Console.WriteLine("Składka zdrowotna wynosi: {0,-10:F2}",d);
- f = 111.25;
- g = kwota - f - b;
- e = 0.0775 * c;
- h = (0.18 * g) - 46.33 - e;
- wyplata = kwota - b - d - h;
- Console.WriteLine("Zaliczka PIT wynosi: {0,-10:F0} ", h);
- Console.WriteLine("Twoje wynagrodzenie netto wynosi: {0,-10:F2}", wyplata);
- Console.WriteLine("");
- Console.WriteLine("Umowa zlecenie");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement