Java Clear Bufffer Untuk Mengambil Inpuit String Berikutnya
if(!input.hasNext() || !input.hasNextInt()) {
input.next();
continue;
}
int cmd = input.next();
Haska
if(!input.hasNext() || !input.hasNextInt()) {
input.next();
continue;
}
int cmd = input.next();