Finished first group of assignments

This commit is contained in:
2025-05-01 12:08:23 +09:00
parent 6a2eaa43d8
commit 0805e15bb9
27 changed files with 227 additions and 92 deletions

14
section/prog1.tex Normal file
View File

@@ -0,0 +1,14 @@
\section{演習 2ー1}
2つの整数値を読み込み、前者の値が後者の何\%であるかを表示するプログラム。
\subsection{コードリスティング}
\defaultlistingstyle
\lstinputlisting[language=C,title={演習 2ー1}]{../programs/prog1/main.c}
\subsection{実行結果}
\begin{center}
\includegraphics[width=\textwidth]{./assets/prog1.png}
\end{center}