Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The user's entry is marked in boldface Welcome to the book program! Would you like to create a book object? (yeso): yEs Please enter the

image text in transcribed
image text in transcribed
image text in transcribed
The user's entry is marked in boldface Welcome to the book program! Would you like to create a book object? (yeso): yEs Please enter the author, title ad the isbn of the book separated by/: Ericka Jones/Java made Easy/458792132 Got it! Now, tell me if it is a bookstore book or a library book (enter BB for bookstore book or LB for library book): BLB Oops! That's not a valid entry. Please try again: Bookstore Oops! That's not a valid entry. Please try again: bB Got it! Please enter the list price of JAVA MADE EASY by ERICKA JONES: 14.99 Is it on sale? (y):y Deduction percentage: 15% Gotit! Here is your bookstore book information [458792132-JAVA MADE EASY by ERICKA JONES, \$14.99 listed for $12.74 ] Would you like to create a book object? (yeso): yeah I'm sorry but yeah isn't a valid answer. Please enter either yes or no: yes Please enter the author, title and the isbn of the book separated by/: Eric Jones/Java made Difficult/958792130 Got it! Now, tell me if it is a bookstore book or a library book (enter BB for bookstore book or LB for library book): LB Gotit! Here is your library book information [958792130-JAVA MADE DIFFICULT bY ERIC JONES-09.ERI.0] Would you like to create a book object? (yeso): yes Please enter the author, title and the isbn of the book separated by /: Erica Jone/Java made too Difficult/958792139 Got it! Now, tell me if it is a bookstore book or a library book (enter BB for bookstore book or LB for library book): LB Got it! Here is your library book information [958792139-JAVA MADE TOO DIFFICULT by ERICA JONE-86,ERI.9] Would you like to create a book object? (yeso): no Surel Here are all your books... Librany Books (2) [958792130-JAVA MADE DIFFICULT by ERIC JONES-09.ERI.0] [958792139-JAVA MADE TOO DIFFICULT by ERICA JONE-86.ER1,9] Bookstore Books (1) [458792132-JAVA MADE EASY by ERICKA JONES, $14.99 listed for $12.74 ] Take care now

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

More Books

Students also viewed these Databases questions

Question

1. If your script has a villain, are his motivations clear?

Answered: 1 week ago