added programs
This commit is contained in:
13
section/prog4.tex
Normal file
13
section/prog4.tex
Normal file
@@ -0,0 +1,13 @@
|
||||
\section{演習1ー9}
|
||||
|
||||
プロンプトから読み込んだ3つの整数値の和を表示するプログラム。
|
||||
|
||||
\subsection{コードリスティング}
|
||||
|
||||
\lstinputlisting[language=C,title={演習1ー9}]{../programs/prog4/main.c}
|
||||
|
||||
\subsection{実行結果}
|
||||
|
||||
\begin{center}
|
||||
\includegraphics[width=\textwidth]{./assets/prog4.png}
|
||||
\end{center}
|
||||
Reference in New Issue
Block a user