Search
 
SCRIPT & CODE EXAMPLE
 

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
Comment

PREVIOUS NEXT
Code Example
Java :: java abstraction 
Java :: java set 
Java :: java stringbuilder set value 
Java :: java queue implementation 
Java :: how to use string variables with an if statement in java 
Java :: junit check class type 
Java :: Java path to file 
Java :: spigot plugin send message 
Java :: java read from file word by word 
Java :: Programme to calculate Combination 
Java :: initialize arraylist java with size 
Java :: android generate random int 
Java :: pass a function as parameter 
Java :: check if duplicate element in java 
Java :: remove java ubuntu 20.04 stackoverflow 
Java :: java treemap 
Java :: How to merge two sorted arrays in Java? 
Java :: MyLinkedList 
Java :: deifine an integer array in java 
Java :: bukkit console filter 
Java :: osmdroid get current zoom level 
Java :: how to convert integer to string in java 
Java :: using java stream filter to find the sum of property 
Java :: selenium drag slider 
Java :: is the function same as method in java 
Java :: java run class file 
Java :: Java No-Arg Constructors 
Java :: binary search algorithm in java 
Java :: How to efficiently find the diameter of a binary tree, in Java? 
Java :: can the method local inner class object access method local variables 
ADD CONTENT
Topic
Content
Source link
Name
7+7 =