Cloudbook:
C
Home
Control
If/Else
§ 1
↵ lesson
next →
C-O-matic
If statement
Else statement
Foreach statment
If/Else
# Rearrange the blocks, and the statements in the # blocks so that the program sensibly prints out # the sequence of messages. { print "first statement of the first block\n" ; print "last statement of the first block\n" ; } { print "first statement of the third block\n" ; print "last statement of the third block\n" ; } { print "last statement of the second block\n" ; print "first statement of the second block\n" ; }
The output goes here