draft
This commit is contained in:
18
section/p310.tex
Normal file
18
section/p310.tex
Normal file
@@ -0,0 +1,18 @@
|
||||
\section{演習 3-10}
|
||||
|
||||
\vspace{-0.25cm}
|
||||
|
||||
3つの整数値の等価検証プログラム。
|
||||
|
||||
\subsection{コードリスティング}
|
||||
|
||||
\vspace{-0.75cm}
|
||||
|
||||
\defaultlistingstyle
|
||||
\lstinputlisting[language=C,title={演習 3-10}]{../programs/p310/main.c}
|
||||
|
||||
\subsection{実行結果}
|
||||
|
||||
\begin{center}
|
||||
\includegraphics[width=\textwidth]{./assets/p310.png}
|
||||
\end{center}
|
||||
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