Question: Answer must be in Java format 1. (20 points) Write a method that accepts one parameter, which is the number of pages in a work

Answer must be in Java format
1. (20 points) Write a method that accepts one parameter, which is the number of pages in a work of literature. The method should return a description of the work, according to the table below: Length Fewer than 30 pages At least 30 pages but fewer than 100 At least 100 pages Description Short Story Novella Novel For full credit, your method should only have a single return statement, and should not require the computer to make any decisions that are not necessary
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
