Reimplement the Menu class of Worked Example 8.1 so that it stores all menu items in one

Question:

Reimplement the Menu class of Worked Example 8.1 so that it stores all menu items in one long string. Keep a separate counter for the number of options. When a new option is added, append the option count, the option, and a newline character.

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

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: