package hi87;
import java.util.Scanner;
public class hi78 {
static Scanner k = new Scanner(System.in);
public static void main(String[] args) {
// TODO 自動產生的方法 Stub
int n = 0;
int m = 0;
double sum = 0;
int data[] = new int[10];
System.out.println("請輸入10個整數:");
for (int i=1;i<=data.length;i++)
{
System.out.println("第"+i+"個整數:");
int j=k.nextInt();
if (j>=60)
{
n+=j;
m+=1;
}
}
System.out.println("陣列中大於60的有"+m+"個");
System.out.println("總合為"+n);
System.out.println("平均值為"+n/m);