import java.util.Scanner;
public class averageIncome
{
public static void main(String[] args)
{
int i,average;
System.out.println("請輸入總人數");
Scanner keyboard = new Scanner(System.in);
int number = keyboard.nextInt();
System.out.println("請輸入性別與收入");
int[] genderAndIncome = new int[number];
for()
}
}
沒有留言:
張貼留言