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.
Answers
Answered by
3
Answer:
There are four types of fruit - apples, oranges, bananas and grapes. Each student can select
two types of fruit. There are some conditions that have to be fulfilled before selecting the
fruits. Draw a flowchart with the name of the first fruit as an input and print the name of the
second fruit(s) that can be chosen. The conditions are:
i) If you select an apple, you u can select a banana.
ii) If you select an orange, you can select grapes.
+
-
✓
iii) If you select grapes, you can select a banana.
+
Hint: There will be one input box for the first fruit, three
decision boxes, and four output boxes in the
flowchart.
+
(6)
Writon
Similar questions