14 lines
272 B
TeX
14 lines
272 B
TeX
\section{課題2}
|
|
|
|
教科書の演習4-2の解答
|
|
|
|
\subsection{コードリスティング}
|
|
|
|
\lstinputlisting[language=C,title={課題2}]{../programs/p42/main.c}
|
|
|
|
\subsection{実行結果}
|
|
|
|
\begin{center}
|
|
\includegraphics[width=\textwidth]{./assets/p42.png}
|
|
\end{center}
|