public static void Main()
Console.WriteLine("Insert the name");
name = Convert.ToString(Console.ReadLine());
Console.WriteLine("Insert the age");
age = Convert.ToDouble(Console.ReadLine());
Console.WriteLine("Insert the hourly wage");
salary = Convert.ToDouble(Console.ReadLine());
Console.WriteLine("Insert the hours worked");
hours = Convert.ToDouble(Console.ReadLine());
totalsalary = salary * hours;
fees = totalsalary * 0.1;
thepay = totalsalary - fees;
Console.WriteLine("The gross salary {0}" , totalsalary);
Console.WriteLine("The taxes {0}" ,fees);
Console.WriteLine("The net income (0}" , thepay);
totalsalary = 1.5 * salary * (hours - 40);
fees = totalsalary * 0.15;
thepay = totalsalary - fees;
Console.WriteLine("The gross salary {0}" , totalsalary);
Console.WriteLine("The taxes {0}" , fees);
Console.WriteLine("The net income {0}" , thepay);