Java While
Selasa, 15 Juli 2014
Add Comment
class While
{
public static void main(String[] angka)
{
int b = Integer.parseInt(angka[0]);
System.out.println(" Sebelum do");
while(b>=10)
{
System.out.println(" Nilai b : "+ b);
b--;
}
System.out.println(" Setelah do ");
}
}
{
public static void main(String[] angka)
{
int b = Integer.parseInt(angka[0]);
System.out.println(" Sebelum do");
while(b>=10)
{
System.out.println(" Nilai b : "+ b);
b--;
}
System.out.println(" Setelah do ");
}
}
0 Response to "Java While"
Posting Komentar