标签:length string log second 个数 static ++ print str
public class Second { public static void main(String[] args){ int[]a={0,1,2,3,4,5,6,7,8,9}; double sum=0; for(int i=0;i<a.length;i++){ sum=sum+a[i]; } System.out.println(sum/10); } }
标签:length string log second 个数 static ++ print str
原文地址:http://www.cnblogs.com/zyy1130/p/6662197.html