标签:java
class JubuDemo
{
public static void main(String[] args)
int sum=0;
for (int i=1;i<=5;i++)
sum=sum+i;
System.out.println("i="+i+",sum="+sum);
}
小循环
原文地址:http://9815936.blog.51cto.com/9805936/1600001