Initial Commit
This commit is contained in:
17
Java/Count.java
Normal file
17
Java/Count.java
Normal file
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
* 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user