laerica
laerica
03.03.2020 • 
Mathematics

Which of the following segments is a proper way to call the method readData four times? Group of answer choices int i = 0; while (i < 4) { readData(); i = i + 1; } double k = 0.0; while (k != 4) { readData(); k = k + 1; } int i = 0; while (i <= 4) { readData(); i = i + 1; } int i = 0; while (i < 4) { readData(); }

Solved
Show answers

Ask an AI advisor a question