結果 : write two rules for writing an algorithm