14 lines
355 B
TeX
14 lines
355 B
TeX
\section{演習 4-18}
|
|
|
|
入力した整数値の個数分アスタリスクを各行に5個ずつ表示するプログラム。
|
|
|
|
\subsection{コードリスティング}
|
|
|
|
\lstinputlisting[language=C,title={演習 4-18}]{../programs/p418/main.c}
|
|
|
|
\subsection{実行結果}
|
|
|
|
\begin{center}
|
|
\includegraphics[width=\textwidth]{./assets/p418.png}
|
|
\end{center}
|