14 lines
317 B
TeX
14 lines
317 B
TeX
\section{演習 4-6}
|
|
|
|
入力した整数値以下の偶数を出力するプログラム。
|
|
|
|
\subsection{コードリスティング}
|
|
|
|
\lstinputlisting[language=C,title={演習 4-6}]{../programs/p46/main.c}
|
|
|
|
\subsection{実行結果}
|
|
|
|
\begin{center}
|
|
\includegraphics[width=\textwidth]{./assets/p46.png}
|
|
\end{center}
|