Question: finish the code Given integer cupsCount, output: Basic case, if the number of cups is greater than 4 6 and less than or equal to

finish the code Given integer cupsCount, output:
"Basic case", if the number of cups is greater than 46 and less than or equal to 76.
"Standard case", if the number of cups is greater than or equal to 117 and less than 151.
"Select another amount" otherwise.
End each output with a newline.
Ex: If the input is 95, then the output is:
Select another amount import java.util.Scanner;
public class CupsQuantity {
public static void main (String[] args){
Scanner scnr = new Scanner(System.in);
int cupsCount;
cupsCount = scnr.nextInt();

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!