Vidyalelo
R Programming · Q26

Control Structures in R Programming

Programming · R Programming · question 26

Q26

What is the output of the following R code: x 0) print(x); x <- x - 2

A.
5, 3, 1
B.
5, 4, 3, 2, 1
Answer
C.
5, 2, 1
D.
5, 3, 2, 1

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board