Lab #8, Friday, March 9

The purpose of this lab is to give you practice writing a class in C++.

While you are gone for Spring Break you want to program your intelligent robot, the Tobor 3000, to do things for you around the house. The robot is given commands by creating a Tobor object. The Tobor class stores the date, time of day (in 24 hour format), and task that the robot should perform. Here is a sample main program:

Write the Tobor class so this code will compile and run. The class should have three private variables: You will also need the following public functions:

The output of your program should look like this:

Show your code/program to the lab assistant for credit, or email to kjmock@alaska.edu by the end of the day for full lab credit.