How do we bring a block of code to a halt?
Excellent work! We use the exit()
method and pass in 0
to tell the program there has been a successful exit.
Unlucky! We use the exit()
method and pass in 0
to tell the program there has been a successful exit.