java如何編程實現(xiàn)從鍵盤輸入10個數(shù)存入數(shù)組?
import java.util.Scanner;public class NumTest { public static void main(String[] args) { int[] nums=new int[10]; Scanner jin = new Scanner(System.in); for (int i = 0; i nums[i]) { smallerNum=nums[i]; } if (biggerNum