Kode: Vælg alt
int i =10;
do {
System.out.println(i);
i+=10;
} while(i<=100);
Kode: Vælg alt
int i =10;
do {
System.out.println(i);
i+=10;
} while(i<=100);
Kode: Vælg alt
int i =10;
while(i<=100){
System.out.println(i);
i+=10;
}