java.util.Scanner; · class Array_Sum · static void main(String[] args) · n, sum = 0; ·.out.print("Enter no. of elements you want in array:"); · a[] = new int[n]; ·.
確定! 回上一頁