Solucion a Reto #0 en Java
matiasng opened this issue · 0 comments
matiasng commented
public class Main {
public static void main(String[] args) {
for(int i = 0; i<100;i++) {
if(i%3 == 0) {
System.out.print(i);
System.out.println("fizz");
}
if(i%5 == 0) {
System.out.print(i);
System.out.println("buzz");
}
if(i%5 == 0 & i%3 == 0) {
System.out.print(i);
System.out.println("fizzbuzz");
}
}
}
}