Fixador de código java online
123456789101112131415161718192021222324import java.util.Scanner;public class LeapYear{ public static void main(String[] args) { int lineCounter = 0; for(int year=101; year <= 2100; year++) { if ((year % 4 == 0)) { System.out.println(year + ""); lineCounter++; { if(lineCounter == 10) } System.out.println(""); lineCounter = 0; } } }}X
Quaint Quelea