14 lines
324 B
TeX
14 lines
324 B
TeX
\section{演習 4-7}
|
|
|
|
入力した整数値以下の2のべき乗を出力するプログラム。
|
|
|
|
\subsection{コードリスティング}
|
|
|
|
\lstinputlisting[language=C,title={演習 4-7}]{../programs/p47/main.c}
|
|
|
|
\subsection{実行結果}
|
|
|
|
\begin{center}
|
|
\includegraphics[width=\textwidth]{./assets/p47.png}
|
|
\end{center}
|