Ask Question
20 August, 15:39

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

+2
Answers (1)
  1. 20 August, 17:18
    0
    Either B or D. Your question is missing information.
Know the Answer?
Not Sure About the Answer?
Find 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 you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers