class ForLoopExample { public static void main(String args[]){ for(int i=10; i>1; i--){ System.out.println("Nilai Ke: "+i); } }}
Standard input is empty
Nilai Ke: 10 Nilai Ke: 9 Nilai Ke: 8 Nilai Ke: 7 Nilai Ke: 6 Nilai Ke: 5 Nilai Ke: 4 Nilai Ke: 3 Nilai Ke: 2
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!