Design an algorithm, draw a corresponding flowchart and then write a ...

Responsive image
source