Finished first group of assignments
This commit is contained in:
16
section/rev3dig.tex
Normal file
16
section/rev3dig.tex
Normal file
@@ -0,0 +1,16 @@
|
||||
\section{課題4}
|
||||
|
||||
入力した三桁の正の整数の数字の並びを逆順させた数字を表示するプログラム。
|
||||
|
||||
\subsection{コードリスティング}
|
||||
|
||||
\vspace{-0.5cm}
|
||||
|
||||
\defaultlistingstyle
|
||||
\lstinputlisting[language=C,title={課題4}]{../programs/rev3dig/main.c}
|
||||
|
||||
\subsection{実行結果}
|
||||
|
||||
\begin{center}
|
||||
\includegraphics[width=12cm]{./assets/rev3dig.png}
|
||||
\end{center}
|
||||
Reference in New Issue
Block a user