Question
Ignore parts b and c of the exercise in the text book. Assume that we will have up to 500 authors. For part a),store the
Ignore parts b and c of the exercise in the text book.
Assume that we will have up to 500 authors.
For part a),store the author's name, number of books written and target reader age in three separate parallel arrays. Then, write separate loops and other code required to:
displays each author's name, the number of books he/she has written and the target reader age
calculate and display the total number of books written
calculate and display the average number of books written by all authors
calculate and display the average target reader age
allow the user to enter an author's name, then search for that name and display how many books that author has written and his/her target reader age
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started