Honestly guys, I have no idea how to even start this program. Or really write it, since I don't even know where to start. If someone could please help me with this, I would greatly appreciate it. This is for a beginning CompSci course at my school. For whatever reason my mind is just blanking on this. Here is the program description:
Define a class for a type called CounterType. An object of this type is used
to count things, so it records a count that is a non-negative whole number.
Include a mutator function that sets the counter to a count given as an
argument. Include member functions to increase the count by one and to
decrease the count by one.
Be sure that no member function allows the value of the counter to become
negative.
Also, include a member function that returns the current count value and
one that outputs the count. Embed your class definition in a test program
and run sufficient tests to verify it all works correctly.
If somebody could help me, I would love you forever.