Pseudocode:
FOR i = 0; i < students.length; i++
IF students[i].vegetarian THEN
print(i + " This student is a vegetarian");
END IF
END FOR
Algorithm: linear search
FlowChart:
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment