14 lines
430 B
TeX
14 lines
430 B
TeX
\section{演習課題1 演習2ー5}
|
|
|
|
2つの整数値を読み込み、前者の値が後者の値の何\%であるかを倍精度浮動小数点数として\\表示するプログラム。
|
|
|
|
\subsection{コードリスティング}
|
|
|
|
\lstinputlisting[language=C,title={演習課題1 演習2ー5}]{../programs/p25/main.c}
|
|
|
|
\subsection{実行結果}
|
|
|
|
\begin{center}
|
|
\includegraphics[width=\textwidth]{./assets/p25.png}
|
|
\end{center}
|