Q16
What is the output of the following R code: for (i in 1:5) if (i %% 2 == 0) print(i)
A.
2
B.
4
C.
2, 4
AnswerD.
1, 3, 5
Answer: Option C
Solution
Answer: Option C
No explanation is given for this question Let's Discuss on Board