\documentclass[a4paper,11pt]{article}

\title{CSci 243 Lab}
\author{Weilin Wang}

\begin{document}

\maketitle

\section{Table Environment:}
 
{\bf PROBLEM.} Give the truth table for $F\equiv(\lnot p\lor q)\land p$.\\
{\bf SOLUTION:}
\begin{table}[h]
\centering
\caption{Truth table}
\begin{tabular}{|c|c|c|c||c|}
\hline
$p$ & $q$ & $\lnot p$& $\lnot p\lor q$ &  $F$\\ \hline
$T$ & $T$ & $F$ & $T$ &$T$\\
$T$ & $F$ & $F$ & $F$ &$F$\\
$F$ & $T$ & $T$ & $T$ &$F$\\
$F$ & $F$ & $T$ & $T$ &$F$\\
\hline
\end{tabular}
\end{table}



\section{Array Environment:}
\begin{enumerate}
 \item We can have display math array:
\[\begin{array}{ccc}
1 & 2 & 3 \\ 
4 & 5 & 6 \\
7 & 8 & 9 \end{array} \]
\item 
Or, inline array:
$\begin{array}{ccc}
1 & 2 & 3 \\ 
4 & 5 & 6 \\
7 & 8 & 9  \end{array} $
\end{enumerate}


\end{document}
