Flowchart and pseudocode algorithms using sequence, selection and iteration