java实验2.1(算五个整数的平均值)

时间:2014-01-31 13:43:24
【文件属性】:

文件名称:java实验2.1(算五个整数的平均值)

文件大小:4KB

文件格式:RAR

更新时间:2014-01-31 13:43:24

AverageNumbers.java

Write Java program called AverageNumbers.java to determine the average of several numbers. Set the following five integer variables: int1 = 5 int2 = 7 int3 = 4 int4 = 25 int5 = 13 Calculate and display the average of these numbers and the square root of average.


【文件预览】:
实验2.1
----src()
--------AverageNumbers.java(330B)
--------Average.java(285B)
--------Square.java(218B)
----bin()
--------Average.class(843B)
--------Square.class(763B)
--------AverageNumbers.class(648B)
----.classpath(301B)
----.settings()
--------org.eclipse.jdt.core.prefs(629B)
----.project(385B)

网友评论