14 lines
321 B
TeX
14 lines
321 B
TeX
\section{演習 4-12}
|
|
|
|
入力した正の整数値の桁数を表示するプログラム。
|
|
|
|
\subsection{コードリスティング}
|
|
|
|
\lstinputlisting[language=C,title={演習 4-12}]{../programs/p412/main.c}
|
|
|
|
\subsection{実行結果}
|
|
|
|
\begin{center}
|
|
\includegraphics[width=\textwidth]{./assets/p412.png}
|
|
\end{center}
|