コード例 #1
0
        static void Main(string[] args)
        {
            Console.WriteLine("******Business pay roll by developer Ben de Rijk******");
            Console.WriteLine("This application will calculate the users weekly wages based on annual slary and hours worked");

            Console.WriteLine("Welcome to the staff paroll system");



            Console.WriteLine("Enter number 1 to display your Salary or number 2 to display your Wages:");
            int userInput = int.Parse(Console.ReadLine());


            Salary Employee1 = new Salary();

            Console.WriteLine($"Your weekly salary is:", Employee1.CalculateWeeklySalary());



            Console.ReadLine();
        }