\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 20, 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 : \\ ******** \\ ************ \\ ********* \\ $\cdots$ \\ \end{enumerate} \end{document}