Computer Applications
Declare an array of 5 ints and initialize it to the first five even numbers.
Java Arrays
3 Likes
Answer
int even[] = {2, 4, 6, 8, 10};
Answered By
2 Likes
Declare an array of 5 ints and initialize it to the first five even numbers.
3 Likes
int even[] = {2, 4, 6, 8, 10};
Answered By
2 Likes