a. Registration workers at a conference for authors of childrens books have collected data about conference participants,

Question:

a. Registration workers at a conference for authors of children’s books have collected data about conference participants, including the number of books each author has written and the target age of their readers. The participants have written from 1 to 40 books each, and target readers’ ages range from 0 through 16. Design a program that continuously accepts an author’s name, number of books written, and target reader age until a sentinel value is entered. Then display a list of how many participants have written each number of books (1 through 40).

b. Modify the author registration program so that the output is a list of how many participants have written 1 to 5 books, 6 to 12 books, and 13 or more books. 

c. Modify the author registration program so that the output is a count of the number of books written for each of the following age groups: under 3, 3 through 7, 8 through 10, 11 through 13, and 14 and older.

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

Step by Step Answer:

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