Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
Even Numbers
// Java Coding Challenge - 01: Print out even numbers 0 - 100 class Rextester { public static void main(String args[]) { int max = 100; for (int i = 0; i <= max; i++) { if (i % 2 == 0) { System.out.print(i + ", "); } } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
This code is not what it seems...
Document management system - build unordered list (table of contents) recursively
Array - char
java - preethika
Quadratic_Equation.java
int float
[Java] Coding - Reverse CODE-String Method
Convert string array to lowercase.
Street light
Project Euler #2
Please log in to post a comment.