Vidyalelo
R Programming · Q186

Control Structures in R Programming

Programming · R Programming · question 186

Q186

Which of the following R syntax is correct for while loop?

A.
while ( statement1 ) statement2
Answer
B.
while ( statement1 ) else statement2
C.
while ( statement1 ) do statement2
D.
while ( statement2 ) doelse statement2

Answer: Option A

Solution

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