De creating a class Book. r variables should include: title, author, and summary. 30 WI CF

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Not copied from other. 

 

The New York Times Best Seller list is widely considered the
preeminent list of best-selling books in the United States. Published
weekly in The New York Times Book Review, the best-seller list has
been published in the Times since October 12, 1931.
1
WHERE
THE
CRAWDADS
SING
DELIA OWENS
1. We will be creating a class Book.
Its member variables should include: title, author, and summary.
Please add necessary member methods to the class
30 WEEKS ON THE LIST
WHERE THE
CRAWDADS SING
by Delia Owens
In a quiet town on the
North Carolina coast in
2. In main(),
• Create an array of 5 Book objects, featuring current month's
top 5 sellers in the "Combined Print and E-book Fiction"
Category. (It doesn't have to be the actual data. Dummy data is fine.)
Please create the following pointer variable:
Book* currentMonth;
The currentMonth pointer should point to the current month's top 5 books.
• Make a function call to displayBestSellers(). (See specs in #3).
1969, a young woman who
survived alone in the
marsh becomes a murder
suspect.
3. Create a user-defined function displayBestSellers(), that takes a Book* and an int n as
parameters. The function lists the current month's top n best selling books' details
(ranking, author, title, summary, etc). (Note, 1<=n<=5 in our case)
Please use pointer arithmetic for this function, namely, do NOT use your all-so-familiar
subscript [] notation.
Transcribed Image Text:The New York Times Best Seller list is widely considered the preeminent list of best-selling books in the United States. Published weekly in The New York Times Book Review, the best-seller list has been published in the Times since October 12, 1931. 1 WHERE THE CRAWDADS SING DELIA OWENS 1. We will be creating a class Book. Its member variables should include: title, author, and summary. Please add necessary member methods to the class 30 WEEKS ON THE LIST WHERE THE CRAWDADS SING by Delia Owens In a quiet town on the North Carolina coast in 2. In main(), • Create an array of 5 Book objects, featuring current month's top 5 sellers in the "Combined Print and E-book Fiction" Category. (It doesn't have to be the actual data. Dummy data is fine.) Please create the following pointer variable: Book* currentMonth; The currentMonth pointer should point to the current month's top 5 books. • Make a function call to displayBestSellers(). (See specs in #3). 1969, a young woman who survived alone in the marsh becomes a murder suspect. 3. Create a user-defined function displayBestSellers(), that takes a Book* and an int n as parameters. The function lists the current month's top n best selling books' details (ranking, author, title, summary, etc). (Note, 1<=n<=5 in our case) Please use pointer arithmetic for this function, namely, do NOT use your all-so-familiar subscript [] notation.
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY