handouts/ho05-bak.tex
changeset 871 358a72d7bf71
parent 358 b3129cff41e9
equal deleted inserted replaced
870:1ea379515c6d 871:358a72d7bf71
    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