CISS 242 Week 7 Classes

Assignment 1 Payroll. Write a class name Payroll, with the class declaration in a file called Payroll.h and the implementation in a file called Payroll.cpp. The class will have data members for an employee’s hourly pay rate, number of hours… Read More

CISS 242 Week 6 Introduction to Classes

Assignment 1 Employee Class. Write a class named Employee, with the class declaration in a file called Employee.h and the implementation in a file called Employee.cpp. The class should have the following data members: name – A string that holds… Read More

CISS 242 Week 5 Advanced File Operations

Assignment 1 File Display Program. Write a program that asks the user for the name of a file. The program should display the content of the file on the screen. If the file’s contents won’t fit on a single screen,… Read More

CISS 242 Week 4 Structured Data

Assignment 1 Corporate Sales Data. This program will have a structure that holds data about each division of a corporation. This structure will have a string object that holds the division’s name, 4 doubles that hold the sales totals for… Read More

CISS 242 Week 2 Pointers

Assignment 1 Write a program that dynamically allocates an array large enough to hold a user defined number of test scores. Once all the scores are entered by the user, the array must be passed to a function that sorts… Read More

CISS 242 Week 1 Searching and Sorting Arrays

Assignment 1 Lottery Winners. Write a program that determines if the user is a winner in the lottery game. A lottery ticket buyer purchases 10 tickets a week, always playing the same 10 5-digit “lucky” combinations. The program will initialize… Read More