handouts/ho05-bak.tex
changeset 871 94b84d880c2b
parent 358 b3129cff41e9
equal deleted inserted replaced
870:739039774cee 871:94b84d880c2b
    20 language consisting of arithmetic expressions, assignments,
    20 language consisting of arithmetic expressions, assignments,
    21 if-statements and loops. For example the Fibonacci program can
    21 if-statements and loops. For example the Fibonacci program can
    22 be written in this language as follows:
    22 be written in this language as follows:
    23 
    23 
    24 \begin{center}
    24 \begin{center}
    25 \mbox{\lstinputlisting[language=while]{../progs/fib.while}}
    25 \mbox{\lstinputlisting[language=while]{../progs/while-tests/fib.while}}
    26 \end{center}
    26 \end{center}
    27 
    27 
    28 \noindent
    28 \noindent
    29 The keywords in this language will be
    29 The keywords in this language will be
    30 
    30