結果 : algorithm pseudo code and flowchart