161k views
0 votes
What is the output for the code below?

int total
0;
for (int i
15; i >= 0; i--)
{
total++;
}
System.out.print (total);

User Jlansey
by
5.8k points

1 Answer

3 votes
What is output by the code below? int[] array = {33,14,37,11,27,4,6,2,6,7}; System .out.println(array.length); ... int[] array = {5,10,3,6,9,15}; ... int total = 0; ... output by the code below? int j=1, tally=0; while(j<9) { tally++; j++; } System.out.print(tally);.
From quizlet
User Clark
by
5.4k points