wrote most of report
This commit is contained in:
13
section/program-4.tex
Normal file
13
section/program-4.tex
Normal file
@@ -0,0 +1,13 @@
|
||||
\section{演習課題4}
|
||||
|
||||
3つのint型整数y,m,dを宣言し,yは誕生年,mは誕生月,dは誕生日で初期化し,y+m+dの値を「○○○○の生年月日の和は****です.」と表示するプログラム
|
||||
|
||||
\subsection{コードリスティング}
|
||||
\vspace{-0.5cm}
|
||||
\lstinputlisting[language=C, title={演習課題4}]{../programs/prog4.c}
|
||||
|
||||
\subsection{実行結果}
|
||||
|
||||
\begin{center}
|
||||
\includegraphics[width=\textwidth]{./assets/prog4_output.png}
|
||||
\end{center}
|
||||
Reference in New Issue
Block a user