pseudocode and flowchart for the logic sample Academic Essay