Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

8th Edition

013460153X, 978-0134601533

Students also viewed these Databases questions

Question

What do Dimensions represent in OLAP Cubes?

Answered: 1 week ago