1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Kitty [74]
3 years ago
5

There are 4 fruits apples,oranges,bananas and grapes. Each student can pick up 2 fruits.There are some conditions which have to

be used to pick up the fruits . Draw flowchart which can take name of first fruit as input and print name of 2nd fruit that can picked up.
Computers and Technology
1 answer:
bekas [8.4K]3 years ago
4 0

Answer:

start→ randomly pick a fruit from the list→ if the first fruit is 'apple', pick 'banana', else if 'orange', pick 'grape', else if 'grape', pick 'banana'→ print second fruit→end.

Explanation:

To pick a second fruit, some conditions have to be met,

  • if you pick an apple, the second fruit should be a banana.
  • if you pick an orange, the second fruit should be a grape.
  • if you pick a grape, the second fruit should be a banana.

You might be interested in
Carly’s Catering provides meals for parties and special events. Write a program that prompts the user for the number of guests a
Savatey [412]

Answer:

Answered below

Explanation:

Scanner n = new Scanner(System.in);

System.out.print("Enter number of guests: ");

int numOfGuests = n.nextline();

double pricePerGuest = 35.0;

double totalAmount = numOfGuests * pricePerGuest;

String event = " ";

if ( numOfGuests >= 50){

event = "Large event";

}else{

event = "small event";

}

System.out.print(numOfGuests);

System.out.println(pricePerGuest);

System.out.println( totalAmount);

System.out.println(event);

6 0
3 years ago
Hello pls answer<br><br><br>what is the use of loop in java​
xxMikexx [17]
The use of loop in java is to run a block of code for a certain number of times.
7 0
3 years ago
You hide three worksheets in a workbook and need to unhide them. How can you accomplish this?.
ale4655 [162]

Answer:

1. Right-click the sheet tab you want to hide, or any visible sheet if you want to unhide sheets.

2. On the menu that appears, do one of the following: To hide the sheet, select Hide. To unhide hidden sheets, select them in the Unhide dialog that appears, and then select OK.

Explanation:  have a good day!

7 0
3 years ago
The most accurate reading that you can take on an analog vom are when the meters pointer is at the?
marshall27 [118]
<span>The most accurate readings are near the right end of the scale, for two reasons. Any inaccuracy in your reading is a smaller part of the total voltage near full scale, and readings near the left end are likely to be off because of incorrect adjustment of the zero adjust screw. If "extreme right" means past the end of the numbers, you may be off there if the needle hits the stop. On meters with a mirror behind the needle, move to where the needle is in front of its reflection for the best reading.</span>
4 0
3 years ago
Hye I'm new branily I don't no use in this aap please follow me​
mixas84 [53]
Um ok? I think u have to have more points to be able to follow people tho
8 0
3 years ago
Other questions:
  • Which of the following are important for protecting computing devices and systems? Physical safeguards like a secure space prote
    7·1 answer
  • What cell address indicates the intersection of the first row and the first column in a worksheet?
    15·2 answers
  • Under the class system, how many host ids were available in a class b network?
    7·1 answer
  • A restaurant has a case type that allows customer to book the dining room for events. Customers provide basic information includ
    7·1 answer
  • Shawn works at the local electrical company in Nampa, ID, which provides electricity to the entire city of Boise. This area is p
    14·1 answer
  • 9.2 code practice edhesive
    14·1 answer
  • Is there anything I can do to fix my laptop? It is a chrome book and my school provided it. Everything is still working.If anyon
    14·2 answers
  • Determine what is printed by the following code.
    8·1 answer
  • Match the roles to the task they perform.
    5·1 answer
  • True or false: Because there are so many different network configurations, operating systems, and strategies, it is a challenge
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!