McqkartGet appPractise

Consider the following R code: s <- 0 for (i in 1:10) { if (i %% 3 == 0) next if (i > 7) break s <- s + i } s What is printed when the code is run?

A[1] 37
B[1] 19
C[1] 27
D[1] 3
🔒 Answer hidden — practise on Mcqkart to check yourself and see the explanation.

Want more like this? Create a free account to practise a full test, track your progress, and get spaced-repetition review.

Practise on Mcqkart →🎓 Book an expert →