Answers for "running java code online"

C
1

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
Posted by: Guest on March-01-2021
1

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
Posted by: Guest on March-01-2021

Code answers related to "C"

Browse Popular Code Answers by Language