static void bisi(){
for (int i=1;1900<=2000;i++){
if(i%4==0){;
System.out.println("el año" + i + "es bisiesto");
}
else {
System.out.println("");
}
}
}
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
Bisiesto.bisi();
}
}
NO SIRVE.cc
ResponderEliminar