diff -r 2c6fa627df78 -r abf63cd5e11b cws/cw02.tex --- a/cws/cw02.tex Sat Dec 04 00:41:31 2021 +0000 +++ b/cws/cw02.tex Sat Dec 04 00:49:34 2021 +0000 @@ -193,18 +193,18 @@ \begin{figure}[h] -\mbox{\lstinputlisting[language=While,xleftmargin=10mm]{../progs/while-tests/fib.while}} +\mbox{\lstinputlisting[language=While,xleftmargin=10mm]{../cwtests/cw02/fib.while}} \caption{Fibonacci program in the WHILE language.\label{fib}} \end{figure} \begin{figure}[h] -\mbox{\lstinputlisting[language=While,xleftmargin=10mm]{../progs/while-tests/loops.while}} +\mbox{\lstinputlisting[language=While,xleftmargin=10mm]{../cwtests/cw02/loops.while}} \caption{The three-nested-loops program in the WHILE language. (Usually used for timing measurements.)\label{loop}} \end{figure} \begin{figure}[h] -\mbox{\lstinputlisting[language=While,xleftmargin=10mm]{../progs/while-tests/factors.while}} +\mbox{\lstinputlisting[language=While,xleftmargin=10mm]{../cwtests/cw02/factors.while}} \caption{A program that calculates factors for numbers in the WHILE language.\label{factors}} \end{figure}