'while' loop with 'if'
13 tasks
-
wif1Paint every cell in the corridor that does not have a wall above it.
-
wif2Paint every cell in the corridor that has a wall above it.
-
wif9Use two 'if' statements at the same time. One for the top wall and the other for the bottom wall.
-
wif12Paint the cells that are below the already painted ones and do not have a wall above them.