- Home
- Table of Contents
- Statement of Authenticity
- Personal Mission Statement
- Elevator Speech
- Education
- Resume
- Work Samples
- Professional Development and Training
- Letters of Reference
- Reference List
- Awards and Accomplishments
- Volunteer History
- Professional Affiliations
- Career Pathing
- DeVry University Computer
PRACTICAL PROGRAM EXAMPLES
Click on the Program Title to view the code...
SHELLY'S CANDY SHOP
This program consists of two classes; a cashRegister class and a dispenserType class. The derived class is called dispenserType with all the necessary function definitions and constructors to make the class functional. The program includes a test program (main) to test the member functions of each of the classes by creating dispenserType objects and then performing the necessary operations to test
all possible behavior. Using sound construction techniques and design principles, the code was manipulated into separate header and implementation files for better reuse and modularity. The sellProduct() function keeps prompting the user until enough money is entered and then returns any excess.
ENGRAVED PENS
This program calculates the price of specially engraved pens based upon the quantity ordered.
TIME
This program contains a Time class that implements the time of day in a program. Time class is extended to include a third data member in which time zone is stored. The derived class is called extTime with all the necessary function definitions and constructors to make the class functional. The program includes a
test program (main) to test the inherited class features.
DAYS OF THE WEEK
This program contains a class that implements the days of the week. The program is able to perform the following on an object of the class. Set the day, Print the day, Return the day, Return the next
day, Return the previous day, and Calculate and Return the day by adding a certain amount of days to the current day.
SHELLY'S CANDY SHOP
This program consists of two classes; a cashRegister class and a dispenserType class. The derived class is called dispenserType with all the necessary function definitions and constructors to make the class functional. The program includes a test program (main) to test the member functions of each of the classes by creating dispenserType objects and then performing the necessary operations to test
all possible behavior. Using sound construction techniques and design principles, the code was manipulated into separate header and implementation files for better reuse and modularity. The sellProduct() function keeps prompting the user until enough money is entered and then returns any excess.
ENGRAVED PENS
This program calculates the price of specially engraved pens based upon the quantity ordered.
TIME
This program contains a Time class that implements the time of day in a program. Time class is extended to include a third data member in which time zone is stored. The derived class is called extTime with all the necessary function definitions and constructors to make the class functional. The program includes a
test program (main) to test the inherited class features.
DAYS OF THE WEEK
This program contains a class that implements the days of the week. The program is able to perform the following on an object of the class. Set the day, Print the day, Return the day, Return the next
day, Return the previous day, and Calculate and Return the day by adding a certain amount of days to the current day.