diff -r f766d3486c9d -r 6f80e6df34f7 cws/cw03.tex --- a/cws/cw03.tex Sat Dec 04 00:41:31 2021 +0000 +++ b/cws/cw03.tex Sat Dec 04 00:49:34 2021 +0000 @@ -138,24 +138,24 @@ 1 Minute? \begin{figure}[h] -\lstinputlisting[language=while,xleftmargin=20mm]{../progs/while-tests/fib.while} +\lstinputlisting[language=while,xleftmargin=20mm]{../cwtests/cw03/fib.while} \caption{Fibonacci program in the WHILE language.\label{fib}} \end{figure} \begin{figure}[h] -\lstinputlisting[language=while,xleftmargin=20mm]{../progs/while-tests/loops.while} +\lstinputlisting[language=while,xleftmargin=20mm]{../cwtests/cw03/loops.while} \caption{The three-nested-loops program in the WHILE language. Usually used for timing measurements.\label{loop}} \end{figure} \begin{figure}[h] -\lstinputlisting[language=while,xleftmargin=0mm]{../progs/while-tests/primes.while} +\lstinputlisting[language=while,xleftmargin=0mm]{../cwtests/cw03/primes.while} \caption{Prime number program.\label{primes}} \end{figure} \begin{figure}[p] -\lstinputlisting[language=while,xleftmargin=0mm]{../progs/while-tests/collatz2.while} +\lstinputlisting[language=while,xleftmargin=0mm]{../cwtests/cw03/collatz2.while} \caption{Collatz series program.\label{collatz}} \end{figure}