Hints for the Challenge:

Below, you can find another hint for the Challenge.

You should only get here after reading, digesting, and applying the .

Hint

How about getting that quote in the output?

Here is a way to do it:

Note that the use of QU is forbidden in the solution, but it might be useful to get some ideas.

The program now outputs ():

So, that program gets the beginning right, up to and including the first single quote.

A slight variation is ():

This road can lead somewhere, but let's do it without QU ():

After the single quote, in the program above, appear the characters write(. Hence, these must be output next. This leads to the following program:

This produces as output ():

Can you see how to get more output right, say the first two lines?

Try your program in the machine, and see if you can extend it to a complete solution.

Apply the Hint

It is your turn ...

Need Another Hint?

If you tried this and got stuck again, then you are ready for the .


Valid HTML 4.01 Transitional

Copyright ©2009, Tom Verhoeff, T.Verhoeff@TUE.NL