Draw a flowchart for computer program that classifies animals as Herbivore or Carnivore as per following conditions:
"First program needs a name of animal and check whether it eats plants or not. If animal eats only plants then Print Herbivore and if doesn't eat plants then Print Carnivore".
Answers
Answered by
0
Answer:
stock so O is did do is coming pc do yes do yes do pc do so if to put
Answered by
0
Explanation:
A flowchart is arranged in boxes and arrows where each box represents some particular information. The shape of box determines what process in being performed at the particular point.
Now to design the given flowchart, we need a start block and then a decision block. At the start we will be taking input and then at decision block we will be deciding if the input should be routed like if animal eats only plants then route is Herbivore and if doesn't eat plants then route is Carnivore. Last step would be a block that prints the information
Similar questions