Skip to content

Commit

Permalink
fix: pre-lab assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
zer0-911 committed Sep 8, 2023
1 parent 9ad6bf1 commit 58d38c2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
Binary file removed Cover/main[ENG].pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion Cover/main[ENG].tex
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
\def\institut{Institut Teknologi Sepuluh Nopember}
\def\praktikum{Basic Programming \\ Practicum}
% Ubah Judul sesuai dengan modul
\def\judul{C Programming Introduction}
\def\judul{Introduction to C Language}
\def\tahun{2023}
\begin{document}
% Ubah Bahasa sesuai dengan keinginan
Expand Down
6 changes: 3 additions & 3 deletions P2/PerulanganPercabanganArrayString[ENG].tex
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ \subsection{Nested if}
\end{lstlisting}


\subsection{Exercise}
\subsection{Pre-lab Assignment}
\begin{enumerate}
% \item Buatlah program yang menerima input 3 buah bilangan bulat A, B, dan C. Outputkanlah 3 bilangan bulat itu ke layar dengan urutan paling kecil ke paling besar. Lakukanlah ini dengan menggunakan statement if, if else, if else if, atau nested if.
\item Try to make a program that receives 3 integer input A, B, and C. Then outputs those 3 integers to the screen sorted from smallest to largest. Do this only using conditional statements.
Expand Down Expand Up @@ -444,7 +444,7 @@ \subsection{For loop}
\colorbox{pink}{\parbox{0.8\linewidth}{\textbf{Notes:} In programming, the "break" keyword is used to exit a loop prematurely, while the "continue" keyword is used to skip the current iteration of a loop and proceed to the next iteration. These keywords are commonly used in loops to control their behavior and make the code more efficient. You can explore their usage further in programming resources and tutorials.!}}
\end{center}

\subsection{Exercise}
\subsection{Pre-lab Assignment}
\begin{enumerate}
\item Implement a program in C that calculates the factorial of a non-negative integer entered by the user using a do-while loop. Show the results.
\item Implement programs in C language to find prime numbers between 1 and 100. Use the for loop to iterate through all numbers and the continue statement to ignore numbers that are not prime. Display all found primes.
Expand Down Expand Up @@ -525,7 +525,7 @@ \subsection{Array 2D and Other Multidimensional Array}%Array 2D dan Array Multid
int arr[2][2] = {{1,2},{3,4}};
\end{verbatim}

\subsection{Exercise}
\subsection{Pre-lab Assignment}
\begin{enumerate}
% \item Cobalah inisialisasi suatu array multidimensi dengan menggunakan perulangan for.
\item Try to initialize a multidimensional array with for loop
Expand Down
3 changes: 2 additions & 1 deletion P4/PointerdanStruct[ENG].tex
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,8 @@ \subsection{Binary Search}
\colorbox{pink}{\parbox{0.8\linewidth}{\textbf{Note:} There are other sorting algorithms. Look it up individually}}
\end{center}

\subsection{Tugas Pendahuluan}
% \subsection{Tugas Pendahuluan}
\subsection{Pre-lab Assignment}
\begin{enumerate}
% \item Anda memiliki daftar nama berikut: ["Alice", "Bob", "Charlie", "David", "Eve", "Frank"].
% Gunakan algoritma binary search untuk mencari apakah nama "Eve" ada dalam daftar ini.
Expand Down

0 comments on commit 58d38c2

Please sign in to comment.