public static void Main()
Console.Write("Enter the name of the employee ") ;
name = Console.ReadLine() ;
Console.Write("Enter the base salary ") ;
salaryb = Convert.ToDouble(Console.ReadLine()) ;
Console.Write("Enter the extra hours worked ") ;
EH = Convert.ToDouble(Console.ReadLine()) ;
Console.Write("Enter the category of the employee: 1, 2, 3, 4 or more ") ;
category = Convert.ToInt16(Console.ReadLine()) ;
salaryt = (30 * 30) + salaryb ;
Console.WriteLine("Sorry you can't do more than 30 extra hours, your total salary is " + salaryt) ;
salaryt = (EH * 30) + salaryb ;
Console.WriteLine("Your total salary is " + salaryt) ;
salaryt = (30 * 38) + salaryb ;
Console.WriteLine("Sorry you can't do more than 30 extra hours, your total salary is " + salaryt) ;
salaryt = (EH * 38) + salaryb ;
Console.WriteLine("Your total salary is " + salaryt) ;
salaryt = (30 * 50) + salaryb ;
Console.WriteLine("Sorry you can't do more than 30 extra hours, your total salary is " + salaryt) ;
salaryt = (EH * 50) + salaryb ;
Console.WriteLine("Your total salary is " + salaryt) ;
salaryt = (30 * 70) + salaryb ;
Console.WriteLine("Sorry you can't do more than 30 extra hours, your total salary is " + salaryt) ;
salaryt = (EH * 70) + salaryb ;
Console.WriteLine("Your total salary is " + salaryt) ;
Console.WriteLine("Your total salary is " + salaryb) ;