public static void Main()
Console.WriteLine("Enter Employee name:");
String name = Console.ReadLine();
Console.WriteLine("\nPress F for Full Time and P for Part Time");
String method = Console.ReadLine();
Console.WriteLine("\n---Part Time Employee---");
Console.Write("\nEnter rate per hour: ");
double a = Convert.ToDouble(Console.ReadLine());
Console.Write("Enter no. of hours worked: ");
int b = Convert.ToInt32(Console.ReadLine());
Console.Write("Enter no. of overtime: ");
int c = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("___________________________________");
Console.WriteLine("\nEmployee Name: " + name);
Console.WriteLine("Basic Pay: " + (a*b));
Console.WriteLine("Overtime Pay: " + (a*c) * (percent));
Console.WriteLine("___________________________________");
var gross_pay = (a*b) + (a*c) * (percent);
Console.WriteLine("Gross Pay: " + gross_pay );
Console.WriteLine("\n---Full Time Employee---");
Console.Write("\nEnter Basic Pay: ");
double d = Convert.ToDouble(Console.ReadLine());
Console.WriteLine("___________________________________");
Console.WriteLine("\nEmployee Name: " + name);
Console.WriteLine("Basic Pay: " + d);
Console.WriteLine("\n___________________________________");
Console.WriteLine("Gross Pay: " + d);
else if (method != "exit")
Console.WriteLine("You have entered a wrong keyword");