Declare an array named a of ten elements of type int and initialize the elements (starting with the first) to the values 10 , 20 , …, 100 respectively.
LANGUAGE: JAVA
CHALLENGE:
Declare an array named a of ten elements of type int and initialize the elements (starting with the first) to the values 10 , 20 , …, 100 respectively.
SOLUTION:
int[] a = {10,20,30,40,50,60,70,80,90,100};