結果 : algorithm steps in c