public static void Main()
Console.WriteLine("Express Café Employee Pay Calculator");
Console.WriteLine("Please enter your Employee Number: ");
String empNum = Console.ReadLine();
Console.WriteLine("Please enter your Hours Worked: ");
double HWorked = Convert.ToDouble(Console.ReadLine());
Console.WriteLine("Please enter your Hourly Rate: ");
double HRate = Convert.ToDouble(Console.ReadLine());
Console.WriteLine("Are taxes being deducted from your paycheque? Please type 'YES' or 'NO'.");
String taxes = Console.ReadLine();
Console.WriteLine("Please inform us if you are a student. Type 'YES' or 'NO'.");
String student = Console.ReadLine();
GPay = (HRate*40)+((HWorked/40)*(HRate*1.5));
if (taxes.Substring(0,1).ToUpper() == "Y")
{NPay = (GPay)-(GPay*0.13)-(GPay*0.0595)-(GPay*0.0163);
Console.WriteLine("13% has been deducted from your paycheque");
Console.WriteLine("Your net pay is: " + "{0:C2}",NPay);}
else if (taxes.Substring(0,1).ToUpper() == "N"){
Console.WriteLine("No taxes are applied to your paycheque, Hooray!");
NPay = (GPay)-(GPay*0.0595)-(GPay*0.0163);
Console.WriteLine("Your net pay is: " + "{0:C2}",NPay);
if (student.Substring(0,1).ToUpper() == "Y"){
{NPay = (GPay)-(GPay*0.0595)-(GPay*0.0163);
Console.WriteLine("So you're a student, huh? good luck with your studies!");}