Computer Science 111a - Fall Semester, 2003

Homework #10

due: by 5:00 on Dec. 10

Your task in this week's project is to make some changes to the animal guessing game program, to make it more exciting. When the computer guesses an animal incorrectly, your program should ask the user what animal she was thinking of. Your program will then ask the user for a question to distinguish between her animal and the one you guessed, and it will use this information to modify its decision tree! The information will then be saved to file, so that the next time someone plays the game the computer will be even "smarter". Here are details:

What to submit. Your program should be in a file called hw10.c. Submit this homework by the due date with the command submit hw10 hw10.c