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 DailyProfit
- {
- class Program
- {
- static void Main(string[] args)
- {
- var workDayMonth = int.Parse(Console.ReadLine());
- var moneyOnDay = double.Parse(Console.ReadLine());
- var valuteDolar = double.Parse(Console.ReadLine());
- var moneyMonth = (workDayMonth * moneyOnDay)*14.5;
- var tax = moneyMonth - (moneyMonth * 0.25);
- var middleYear = tax / 365;
- var onBGN = middleYear * valuteDolar;
- Console.WriteLine($"{onBGN:f2}");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement