draft
This commit is contained in:
14
section/p311.tex
Normal file
14
section/p311.tex
Normal file
@@ -0,0 +1,14 @@
|
||||
\section{演習 3-11}
|
||||
|
||||
論理OR演算子を使用して2つの整数値の差が10以下であるか、11以上であるかを検証するプログラム。
|
||||
|
||||
\subsection{コードリスティング}
|
||||
|
||||
\defaultlistingstyle
|
||||
\lstinputlisting[language=C,title={演習 3-11}]{../programs/p311/main.c}
|
||||
|
||||
\subsection{実行結果}
|
||||
|
||||
\begin{center}
|
||||
\includegraphics[width=\textwidth]{./assets/p311.png}
|
||||
\end{center}
|
||||
Reference in New Issue
Block a user