阅前声明: http://blog.csdn.net/heimaoxiaozi/archive/2007/01/19/1487884.aspx
/****************** Exercise 4 ******************
* Write a program that prints values from one to
* 100.
***********************************************/
public class E04_To100 {
public static void main(String[] args) {
for(int i = 1; i <= 100; i++)
System.out.println(i);
}
}
//+M java E04_To100
**This is the most trivial use of a for loop.