\section{演習 4-5} 教科書のList 4-7のスタートを0から1へ書き換えたプログラム。 \subsection{コードリスティング} \lstinputlisting[language=C,title={演習 4-5}]{../programs/p45/main.c} \subsection{実行結果} \begin{center} \includegraphics[width=\textwidth]{./assets/p45.png} \end{center}