Question: When the given integer variable packageCount is: greater than 1 8 , output Must split order. between 5 inclusive and 1 8 inclusive, output Large
When the given integer variable packageCount is:
greater than output "Must split order".
between inclusive and inclusive, output "Large box".
between inclusive and inclusive, output "Small box".
less than output "Invalid number".
End with a newline.
Ex: If the input is then the output is:
Must split order import java.util.Scanner;
public class ProductDetails
public static void mainString args
Scanner scnr new ScannerSystemin;
int packageCount;
packageCount scnrnextInt;
Your code goes here
finish the code
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
