As I detailed previously, I have only just started learning to code Java at college and therefore have not yet learnt how to debug. My code works fine when the user types false to end the program, but if they type true to be given another attempt the program crashes.

Many thanks