| |
Program 2
Title: Program 2
Category: Science & Technology
Details: Words: 1734 | Pages: 7.4 (approximately 235 words/page)
Program 2
Program construction
The completed programs to be submitted to the charon system by the date indicated.
C++ Familiarisation
You should expect to finish this work by the end of week 3 (Now week 4 due to non availability
of the Borland C++ compiler in the labs) at the latest. The completed programs to be submitted to
the charon system by this date.
A non extendable extension for this work is granted till the end of week 4 (Now
showed first 75 words of 1734 total
You are viewing only a small portion of the paper. Please login or register to access the full copy.
|
|
showed last 75 words of 1734 total
pay_rate
Delivers the hourly pay rate.
The partial C++ specification of this class is shown below:
class Employee_Pay
{
public:
Employee_Pay();
void add_hours_worked( int number_of_hours_worked );
void set_hourly_rate( float hourly_pay_rate );
void reset();
float pay();
int hours_worked();
float pay_rate();
private:
};
You may wish to use the following test program to help test the class that you have created.
#include
#include
void main()
{
std::cout
Need a custom written paper?
|
|
|