next up previous
Next: Lab Exercise 4: Generating Up: In the Laboratory: Feeding Previous: Lab Exercise 2: Modifying

Lab Exercise 3: Order of Execution

Modify your TestCyberPet program so that it produces the following output:

    pet1 name is Socrates
    Socrates is sleeping
    Socrates is eating an apple
    Socrates is eating a Macintosh
    Socrates is eating a Windows/PC



Ralph Morelli {Faculty}
12/22/1999