結果 : write a note on algorithm and flowchart