Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Coding Challenge - 01 (Even numbers)
//Title of this code //'main' method must be in a class 'Rextester'. //Compiler version 1.8.0_45 import java.util.*; import java.lang.*; class Rextester { public static void main(String args[]) { //[Java] Coding Challenge - 01 (Even numbers) byte imax=100; for(byte i=0;i<=imax;i++){ if (i==51){System.out.println();} if (i%2==0){System.out.print(i+", ");} } } }
run
|
edit
|
history
|
help
0
classwork
test1
SecToHours
Remove punctuation except numbers, commas and spaces
Rextester.java
Validate BST
getListVehicules
Vasanth Selvaraj
191fa07050
Add Index of max number in an array