I want to completely quit the program after input the number of 0. If user input number of 0, there will show the output of Goodbye, but the program is still running if they input other number, eg. 1. Therefore, how can I completey quit the program after user inputed the number of 0.
case 0:
System.out.println("Goodbye.");
break;