32.3k views
0 votes
Java 1

Question 18
What is the value of alpha at the end of the loop?

alpha = 1;
loopCount = 1;
while (loopCount <= 3)
{
alpha = alpha + 10;
loopCount++;
}

a. 10
b. 21
c. 31
d. 1
e. 3

User Paul PUGET
by
4.6k points

1 Answer

4 votes

Answer:

c .31

Explanation:

i hope ...

Java 1 Question 18 What is the value of alpha at the end of the loop? alpha = 1; loopCount-example-1
User Sreeram
by
4.3k points