Study the flowchart below and answer the question that follow.
(a) What would the flowchart generate as output if the value of N at input was:
(i) 6? (2 marks)
(ii) 1? (2 marks)
(b) Write a pseudocode that does the same thing as the flowchart above. (7 marks)
(c) Modify the flowchart so as to reject an input below 0 and to avoid the looping when the input is 0. (4 marks)
MAURICE NYAMOTI is a high school teacher and has passion in helping students improve grades