Break Continue Coding

mail@pastecode.io avatar
unknown
java
2 years ago
308 B
4
Indexable
Never
public class BreakContinue {
    public static void main(String[] args) {
        for (int j = 1; j <= 20; j++) {
            if (j % 2 == 0)
                continue; 
            for (int i = 1; i <= 20; i++) {
                System.out.print(i * j + " "); 
            }
            System.out.println();