public static void Main()
Console.WriteLine("Enter the number of working days:");
int totalWorkingDays = int.Parse(Console.ReadLine());
Console.WriteLine("Enter daily pay rate:");
double dailyRate = double.Parse(Console.ReadLine());
Console.WriteLine("Enter total overtime hours:");
double totalOvertimeHours = double.Parse(Console.ReadLine());
Console.WriteLine("Enter pay rate per overtime hour:");
double overtimeRate = double.Parse(Console.ReadLine());
double totalEarnings = totalWorkingDays * dailyRate + totalOvertimeHours * overtimeRate;
double taxDue = totalEarnings * 0.25;
double savingsAmount = totalEarnings * 0.07;
double finalIncome = totalEarnings - taxDue - savingsAmount;
Console.WriteLine("Total earnings before deductions: {0}", totalEarnings);
Console.WriteLine("Total tax amount: {0}", taxDue);
Console.WriteLine("Total savings contribution: {0}", savingsAmount);
Console.WriteLine("Final income after deductions and savings: {0}", finalIncome);