public static void Main()
double payforhour, numofhour, numofexthour, payforexthours;
Console.WriteLine("How much do you get for a hour?");
payforhour = double.Parse(Console.ReadLine());
Console.WriteLine("How much hours did you work?");
numofhour = double.Parse(Console.ReadLine());
Console.WriteLine("How much extra hours did you work?");
numofexthour = double.Parse(Console.ReadLine());
payforexthours = numofexthour*(payforhour*1.8);
Console.WriteLine("Salary = " + ((payforhour*numofhour) + payforexthours));