// test_two.cpp - Problem 2 exam 2 // CS210 - S'03 - 3/24/03 - Ray S. Babcock // #include using namespace std; #include "two.h" int main (void) { Two first(1,2), second(3,4); first.PrintGreen("first"); // LINE ONE first.PrintGrass("first"); // LINE TWO first.PrintGreen("second"); // LINE THREE first.PrintGrass("second"); // LINE FOUR second.PrintGreen("exam2"); // LINE FIVE second.PrintGrass("exam2"); // LINE SIX Two third(6); Two fourth(third); third.PrintGreen("third"); // LINE SEVEN third.PrintGrass("third"); // LINE EIGHT fourth.PrintGreen("fourth"); // LINE NINE fourth.PrintGrass("fourth"); // LINE TEN fourth = second; fourth.PrintGreen("last"); // LINE ELEVEN fourth.PrintGrass("last"); // LINE TWELVE return 0; }