Question: Java Write a method to calculate the number of chapters in a book. Use integer division (since there are no partial chapters) but allow the
Java

Write a method to calculate the number of chapters in a book. Use integer division (since there are no partial chapters) but allow the last chapter to be up to 39 pages (integer division will do this for you, you do not have to do any fancy math). So if your book has 763 pages, your method should return 38 chapters, and you can assume the last chapter has 23 pages in it
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
