Write the output of the following program. [3]
int i = 1,j = 20,k = 31;
while (i < j)
{
k += (i * j);
i = i * 2;
j--;
}
System.out.println("i = " + i + " j = " + j + " k = " + k);
Answers
Answered by
0
Answer:
mention one question at a time
Explanation:
Similar questions
English,
2 months ago
Biology,
2 months ago
Social Sciences,
4 months ago
Math,
4 months ago
English,
10 months ago
Political Science,
10 months ago