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 and less than or equal to
"Standard case", if the number of cups is greater than or equal to and less than
"Select another amount" otherwise.
End each output with a newline.
Ex: If the input is then the output is:
Select another amount import java.util.Scanner;
public class CupsQuantity
public static void main String args
Scanner scnr new ScannerSystemin;
int cupsCount;
cupsCount scnrnextInt;
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
