Upgrade to access all content for this subject
Consider the following code segment.
int x=0, y=20;
// missing while header
Which of the following could be used to replace // missing while header such that the code segment will print 10 to the console when executed?
while (y<=20 || x<5)
while (y>=20 || x<=5)
while (y>=20 && x<5)
while (y<=20 && x<5)