Hello, I would like some help with ending a program. I am working on some homework for writing code and everything I try will not allow me to end the program. I keep getting a syntax error "expected "}"
" and I can not figure it out. I have checked for the brackets and they are both there, if I remove them it still says the same thing. Could some one please advise? Here is the end portion of my code:
{
System.exit(0);
}
}
}
} //end program
Thank you!