You can then save this value into array by assigning to respective index e.g. input[i] = sc.next(). Program to take an array as input from user ...
確定! 回上一頁