int a;
a = Integer.parseInt(JOptionPane.showInputDialog("Masukkan Batas Awal : "));
int b;
b = Integer.parseInt(JOptionPane.showInputDialog("Masukkan Batas Akhir : "));
do
{
System.out.println(a+ " "+"Selamat Anda Berhasil");
a++;
}
while ( a <= b);
}
}
keren sekali gan, sangat membantu..
BalasHapus