public class Countingtable {
public static void main(String[] args) {
// write a program to count/increase a number by 2 everytime.
int number1;
for (number1 = 2; number1 <= 20; number1++)
System.out.println("this number is a multiple of 2 " + number1);
}
}
Proszę zwrócić uwagę, że jeśli usunę spacji w instrukcji drukowania, to daje inne wyniki? każda wskazówka pomoże i będzie w pełni docenione
System.out.println("this number is a multiple of 2" + number1);