766 views
23 votes
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
PLEASE HELP NEED ANWSER FAST THANK YOU

User Willbt
by
4.4k points

1 Answer

3 votes

Answer:

answer is D

Step-by-step explanation:

Because alpha equal to 1

User Parag Badala
by
4.8k points