added
authorChristian Urban <christian dot urban at kcl dot ac dot uk>
Wed, 10 Dec 2014 13:58:06 +0000
changeset 320 0c43ef11e086
parent 319 e7b110f93697
child 321 c5850f8f3f5e
added
coursework/cw04.pdf
coursework/cw04.tex
Binary file coursework/cw04.pdf has changed
--- a/coursework/cw04.tex	Sat Dec 06 18:50:58 2014 +0000
+++ b/coursework/cw04.tex	Wed Dec 10 13:58:06 2014 +0000
@@ -74,11 +74,12 @@
 Fibonacci and Factorial programs. Both should be so modified
 that a user can input on the console which Fibonacci number 
 and which Factorial should calculated. The Fibonacci program
-is  given in Figure~\ref{fibs}.
+is  given in Figure~\ref{fibs}. You can write your own program
+for calculating factorials.
 
 \begin{figure}[t]
 \lstinputlisting[language=while]{../progs/fib.while}
-\caption{The Fibonacci program in the WHILE language.}
+\caption{The Fibonacci program in the WHILE language.\label{fibs}}
 \end{figure}
 
 \subsection*{Question 2 (marked with 5\%)}