started assignment and added programs
This commit is contained in:
13
section/p25.tex
Normal file
13
section/p25.tex
Normal file
@@ -0,0 +1,13 @@
|
||||
\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}
|
||||
Reference in New Issue
Block a user