文件名称:java实验3.1(计算1到50的平均值)
文件大小:4KB
文件格式:RAR
更新时间:2014-01-31 13:51:20
AverageNumbers2.java
Write a Java program called AverageNumbers2.java that calculates the average of numbers 1 to 50 using the for loop. Do it again using the while loop. Output: average of numbers is 25.5
【文件预览】:
实验3.1
----.project(385B)
----bin()
--------ForLoop.class(846B)
--------AverageNumbers2.class(559B)
--------WhileLoop.class(858B)
----.settings()
--------org.eclipse.jdt.core.prefs(629B)
----src()
--------WhileLoop.java(341B)
--------AverageNumbers2.java(271B)
--------ForLoop.java(326B)
----.classpath(301B)