結果 : basic algorithm and flowchart examples