Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace _15.DailyProfit
- {
- class DailyProfit
- {
- static void Main(string[] args)
- {
- int workdays = int.Parse(Console.ReadLine());
- double dayWage = double.Parse(Console.ReadLine());
- double exchangeRate = double.Parse(Console.ReadLine());
- var monthWage = dayWage * workdays;
- var yearSallaryAfterTax = ((monthWage * 12) + (monthWage * 2.5)) * 0.75;
- var avgWage = yearSallaryAfterTax / 365;
- var avgWageBgn = avgWage * exchangeRate;
- Console.WriteLine(Math.Round(avgWageBgn, 2));
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement