public static void main(String[] args) {
int[] codes = new int[5];
codes[1] = 10;
codes[2] = 20;
codes[3] = 30;
codes[4] = 40;
codes[5] = 50;
for (int i = 1; i < codes.length; i++) {
System.out.println(codes[i] + ":");
}
}
upvoted 4 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
amit_lad88
7 months, 2 weeks agoDriftKing
11 months, 2 weeks agoEricausdresden
1 year agojackymak
1 year ago