Ask Question
11 March, 05:13

System. out. print ((k%3) + " "); if ((k % 3) = = 0) k = k + 2; else k++; } what is printed as a result of executing the code segment? question 21 options:

a. 0 2 1 0 2

b. 0 2 0 2 0 2

c. 0 1 2 1 2 1 2

d. 0 2 0 2 0 2 0

e. 0 2 1 0 2 1 0

+1
Answers (1)
  1. 11 March, 06:34
    0
    Either B or D. Your question is missing information.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “System. out. print ((k%3) + " "); if ((k % 3) = = 0) k = k + 2; else k++; } what is printed as a result of executing the code segment? ...” in 📙 Mathematics if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers