There are four types of fruits Apples, Oranges, Bananas and Grapes. Each student can pick
up two fruits. There are some conditions which have to be used to pick up the fruits. Draw a
flow chart which can take the name of first fruit as an input and print the names of second
fruit or fruits that can be picked up. The conditions are:
• If you pick an apple you can pick banana.
• If you pick orange you can pick grapes.
• If you pick grapes you can pick banana.
Hint: There will be one input box to read the first
fruit, three decision boxes and four output boxes in the
flowchart.