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 Daily_Earnings
- {
- class Daily_Earnings
- {
- static void Main(string[] args)
- {
- int N = int.Parse(Console.ReadLine());
- double M = double.Parse(Console.ReadLine());
- double CourseOfDolar = double.Parse(Console.ReadLine());
- double MonthlySalary = N * M;
- double Revenue = MonthlySalary * 12 + MonthlySalary * 2.5;
- double Tax = 0.25 * Revenue;
- double ClearRevenue = Revenue - Tax;
- double CurseLv = ClearRevenue * CourseOfDolar;
- double MidDay = CurseLv / 365;
- Console.WriteLine("{0:f2}", MidDay);
- }
- }
- }
Add Comment
Please, Sign In to add comment