Commit 8dcb1b10 by Marcos Echague

Update Ejercicio07.java

parent a61ab22a
/** /**
* Ejercicio07 * Ejercicio07
*/ */
public class Ejercicio07 { public class Ejercicio07 {
public static void main(String[] args) { public static void main(String[] args) {
for(int i = 1;i<101;i++){ for(int i = 1;i<101;i++){
if(i%2 ==0){ if(i%2 ==0){
System.out.println(i); System.out.println(i);
}else if(i%3 == 0){ }else if(i%3 == 0){
System.out.println(i); System.out.println(i);
} }
} }
} }
} }
\ No newline at end of file //mechague Excelente!
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment