66.0k views
3 votes
Objectives The purpose of this lab is to help you become familiar with the development environment, to reinforce the concepts covered in chapter 2, to reinforce the implementation of object oriented concepts in C++, and to reinforce the implementation of operator overloading in C++. Requirements Extend the implementation of the statistician class created in Lab 2 to overload operators +, *, and ==. The extended class definition is given in stats2.h. You need implement the three operator overloading functions in stats2.cpp file. Use statexam2.cpp to test the correctness of your extended statistician class

//a class to keep track of statistics on a sequence of real numbers
class statistician
{
public:
// CONSTRUCTOR
// Postcondition: The object has been initialized, and is ready to accept
// a sequence of numbers. Various statistics will be calculated about the
// sequence.
statistician( );

User MajorTom
by
5.3k points

1 Answer

2 votes

Answer:

cheetah

Step-by-step explanation:

User Semanino
by
5.4k points