18 lines
330 B
Java
18 lines
330 B
Java
/*
|
|
* this class will demonstrate how to use a for loop
|
|
* @author ricky.barrette
|
|
*/
|
|
public class Count {
|
|
|
|
/*
|
|
* this is the main method of this class
|
|
*
|
|
* @author ricky.barrette
|
|
*/
|
|
public static void main(String[] args) {
|
|
for(int index = 1000; index > 4; index--) {
|
|
System.out.println("index = "+ index);
|
|
}
|
|
}
|
|
}
|