This question might be silly, it's easy to look at and could've been answered after looking at the Internet, but still, I came here for help. This question look like this:
I want to create a table using LaTeX. The table looks like this:
I was able to manage make a table, but it is not what I envisioned. It looks like this:
The code I used looks like this:
\documentclass[a4paper,twocolumn]{article}
\usepackage[margin=1in]{geometry}
\usepackage{multirow,booktabs}
\setlength\parindent{0pt}
\begin{document}
\begin{tabular}{|c|c|c|c|}
\hline
\multirow{2}{*}{USERNAME} & \multirow{2}{*}{PASSWORD} & Did the user denied access to the app when the user inputted wrong username or password? \\
& & YES & NO \\
\hline
papad@gmail.com & 7221456 & & \\
\hline
idislikeyou@gmail.com & password & & \\
\hline
devs@gmail.com & 12A2ZAQR & & \\
\hline
devs@gmail.com & password & & \\
\hline
\end{tabular}
\end{document}
My question is:
How can we make a table using LaTeX that looks like the first picture above?
And I wonder what is the best book for LaTeX to be read...



