예제 #1
0
        static void Main(string[] args)
        {
            salary obj = new salary();

            obj.getbranchdata();
            obj.displyabranchdata();
            obj.getempdata();
            obj.displayempdata();
            obj.getsal();
            obj.calculate();
            obj.displaysal();
            Console.Read();
        }
예제 #2
0
        static void Main(string[] args)
        {
            salary obj1 = new salary();

            obj1.GetBranchData();
            obj1.GetEmpData();
            obj1.getsalari();
            obj1.calculate();

            obj1.displayBranchData();
            obj1.displayEmpData();
            obj1.displaysalary();
        }