write my assignment 7239

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.

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.

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"

Comments are closed.

Hi there! Click one of our representatives below and we will get back to you as soon as possible.

Chat with us on WhatsApp