Question: What will this code output? a < - 1 0 while ( a > = 8 ) { print ( a ) a < -

What will this code output?
a <-10
while (a >=8){
print(a)
a <- a -1
}
Question 5Answer
A.
[1]9
[1]8
[1]7
B.
[1]10
[1]9
C.
[1]8
[1]9
[1]10
D.
[1]10
[1]9
[1]8

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!