17 lines
390 B
TeX
17 lines
390 B
TeX
\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}
|