Problems regarding simple sequences of statements in computer programming


The earlier questions in assignment two are on this topic. I hope you find them trivial by now.

Story.py is this topic except for the 'if' statement.


If you really want a problem in this category: Write a program whose behaviour is like this. The user typed the "31"; the rest is output, and will always indicate one more than what the user types.

Pick a number:
31
Pfft.  That number is way less than 32

[solution]


[index of CSC 104 test problem categories]
[main course page]