Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

online java code fixer

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
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #online #java #code #fixer
ADD COMMENT
Topic
Name
6+5 =