結果 : illustrate algorithm pseudocode and flowchart with an example