Continue Exercise E17.4 and write the tree to a file when the program exits. Load the

Question:

Continue Exercise •• E17.4 and write the tree to a file when the program exits. Load the file when the program starts again.

Data from exercise E17.4

Implement the animal guessing game described in Section 17.2.1. Start with the tree in Figure 4, but present the leaves as “Is it a(n) X?” If it wasn’t, ask the user what the animal was, and ask for a question that is true for that animal but false for X. For example,

image text in transcribed

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question
Question Posted: