\documentclass[12pt]{article}
\usepackage{amssymb, hhline}

\setlength{\textheight}{9.5in}
\setlength{\topmargin}{-0.6in}
\newcommand{\lechoose}[2]{{{#1} \choose {{\mathop \le} #2}}}
\begin{document}
%%\pagestyle{empty}

\def\eee{\mathrm{e}}
\def\ra{\rightarrow}
\def\mn{\medskip\noindent}
\def\diam{\mbox{{\rm diam}}}
\def\ol{\overline}
\def\zzz{\Bbb Z}

\begin{center}
{\large{Fundamentals of Computer Programming 2 \\
      Practice Problems -- January 27, 2003 }}
\end{center}

\noindent Instructor: Ravi Kant \quad Ryerson 177 \quad e-mail:  {\tt ravikant@cs.uchicago.edu}  \\
Office Hours : Wed, Fri : 1:00PM - 1:45PM \\

\noindent TA: Xiaofei He \quad Eck 2-B \quad e-mail: {\tt xiaofei@cs.uchicago.edu} \\
\vspace{0.5cm}

Practice problems for today :

\begin{enumerate}

\item Try the homework problems for the other section ...

\item Write a function that takes an array (of size 10) of positive integers
and outputs a horizontal bar graph made of asterices. e.g. if the array elements are 8,12,9,... the output should be : \\

******** \newline
************ \newline
********* \newline
$\cdots$ \\

You can assume that all the integers in the array are less than 20.

\item (Challenge)Can you generate a vertical bar graph for the above data ?

\end{enumerate}
\end{document}

