Exercise 1 solution:
Program Flowchart
&
corresponding Pseudocode
18