Saturday, September 13, 2014

Devry CIS247





CIS247_WK1_Lab
Download Full Week 1                                                                              



    class Program
    {
        static void Main(string[] args)
        {
                        ApplicationUtilities.DisplayApplicationInformation();
            ApplicationUtilities.DisplayDivider("Start Program");

            ApplicationUtilities.DisplayDivider("Prompt for Employee information and create first employee");

            //Create first Employee
            Employee firstEmployee = new Employee();

            //Set the values of the firstEmployee
            firstEmployee.firstName = InputUtilities.getStringInputValue("First Name");
            firstEmployee.lastName = InputUtilities.getStringInputValue("Last Name");
            firstEmployee.gender = InputUtilities.getCharInputValue("Gender");
            firstEmployee.dependants = InputUtilities.getIntegerInputValue("Enter the # of dependants");
            firstEmployee.annualSalary = InputUtilities.getDoubleInputValue("Annual Salary");

            // Display employee information
            Console.WriteLine();
            Console.WriteLine(firstEmployee.ToString());

            Console.WriteLine();
            ApplicationUtilities.PauseExecution();
            Console.WriteLine();

            //Create second Employee
            Console.WriteLine();
            Employee secondEmployee = new Employee("John", "Waterloo", 'M', 4, 78000);
            Console.WriteLine();
            Console.WriteLine(secondEmployee.ToString());
            Console.WriteLine();

            ApplicationUtilities.TerminateApplication();
        }
    }

***********************************************


CIS247_WK2_Lab
Download Full Week 2                                                                                

************************************************

CIS247_WK3_Lab

Download Full Week 3                                                                                 


************************************************


CIS247_WK4_Lab
Download Full Week 4                                                                                 




************************************************


CIS247_WK5_Lab
Download Full Week 5                                                                                 




***********************************************


CIS247_WK6_Lab
Download Full Week 6                                                                                 






No comments:

Post a Comment