Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

finish the code: Given integer suppliedGrapes, output: Large case, if there are 2 0 - 6 0 grapes inclusive. Extra large case, if there are

finish the code: Given integer suppliedGrapes, output:
"Large case", if there are 20-60 grapes inclusive.
"Extra large case", if there are 100-140 grapes inclusive.
End each output with a newline.
Ex: If the input is 109, then the output is:
Extra large case import java.util.Scanner;
public class GrapesCount {
public static void main (String[] args){
Scanner scnr = new Scanner(System.in);
int suppliedGrapes;
suppliedGrapes = scnr.nextInt();

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

2. What types of information are we collecting?

Answered: 1 week ago

Question

Discuss the importance of workforce planning.

Answered: 1 week ago

Question

Differentiate between a mission statement and a vision statement.

Answered: 1 week ago