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
Geography,
2 months ago
Social Sciences,
5 months ago
Math,
5 months ago
English,
11 months ago
Political Science,
11 months ago