Answered You can hire a professional tutor to get the answer.

QUESTION

A Book is Good if it satisfies the following conditions: It has more than 100 pages and Its title must not end with the character 's'.

A Book is Good if it satisfies the following conditions: It has more than 100 pages and Its title must not end with the character 's'. If title ends wih the character 'e', then should not start with character 'a' The publisher of the book must be one of "Niho books", "DreamWorldz", "Pogo Books" and "Diamond Comics" The number of authors must be greater than 2. But if "CK Bose" is one of the authors, then this conditon is not required. If "Pran" is one of the authors, the publisher must be "Diamond comics". There should be atleast 10 pages per rupee cost of the book. Write a method: boolean isGoodBook(String title, String publisher, int numPages, float price, String[] authors) title The title of the book publisher Name of the publisher of the book. numPages Number of pages in the book. price Price of the book in rupees. authors A string array containing the list of authors.

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question