hmm... Do you have any suggestions?
You could try to do a program where it shows the first letter of a word, and you have to try to guess it. Every time you guess wrong you get another letter of the word, but get less points for it.
Here are the first two lines of code (probably).
code: |
var words : array 1 .. 5 of string := init ("dirt", "stuff", "people", "program", "compsci")
var word := Rand.Int(1,upper(words)) |
Check out how the tutorial on String manipulation, and anything else about "index".