good coding!
next
The computing scientist's main challenge is not to get confused by the complexities of his own making.
keep coding on this level
A function can be defined with the function
keyword. Once you define a certain function, you can call it to perform its instructions.
function name() {
instructions
}
instructions
}
Call the mineAndMove
function one more time, then detonate the mines.
transmission
3
โx
function mineAndMove() {
mine()
forward(100)
}
โ
mineAndMove()
mineAndMove()
โ