public static void Main()
string employeeName, strworkHour, stroverTimeHour,strsssDeduction,strpIbigDeduction,strwithHoldingTax;
double workHour, hourlyRate, overTimeHour, totalGrossPay, RhourlyRate, RoverTimeHour, RworkHour;
double sssDeduction, pIbigDeduction, withHoldingTax, totalDeduction, netPay;
Console.Write("ENTER EMPLOYEE NAME: ");
employeeName = Console.ReadLine();
Console.Write("ENTER YOUR WORK HOUR: ");
strworkHour = Console.ReadLine();
workHour = double.Parse(strworkHour);
Console.Write("ENTER YOUR OVERTIME HOUR: ");
stroverTimeHour = Console.ReadLine();
overTimeHour = double.Parse(stroverTimeHour);
totalGrossPay = (workHour * RhourlyRate) + (overTimeHour * RoverTimeHour);
Console.WriteLine("YOUR TOTAL GROSSPAY IS: {0}", totalGrossPay);
Console.Write("ENTER YOUR SSS DEDUCTION: ");
strsssDeduction = Console.ReadLine();
sssDeduction = double.Parse(strsssDeduction);
Console.Write("ENTER YOUR PAG-IBIG DEDUCTION : ");
strpIbigDeduction = Console.ReadLine();
pIbigDeduction = double.Parse(strpIbigDeduction);
Console.Write("ENTER YOUR WITH HOLDING TAX : ");
strwithHoldingTax= Console.ReadLine();
withHoldingTax = double.Parse(strwithHoldingTax);
totalDeduction = sssDeduction + pIbigDeduction + withHoldingTax;
Console.WriteLine("YOUR TOTAL DEDUCTION IS : {0}", totalDeduction);
netPay = totalGrossPay - totalDeduction;
Console.WriteLine("HELLO {0} YOUR NET PAY IS: {1}", employeeName, netPay);