(URI) Sequencia IJ 2 - Solução
import java.io.*;
class Main {
public static void main(String[] args) throws NumberFormatException, IOException {
for (int i = 1; i < 10; i += 2) {
System.out.println("I=" + i + " J=7");
System.out.println("I=" + i + " J=6");
System.out.println("I=" + i + " J=5");
}
}
}
class Main {
public static void main(String[] args) throws NumberFormatException, IOException {
for (int i = 1; i < 10; i += 2) {
System.out.println("I=" + i + " J=7");
System.out.println("I=" + i + " J=6");
System.out.println("I=" + i + " J=5");
}
}
}
Comments
Post a Comment