# ___________ is a pretest loop that will execute until the value of z equals 10?

___________ is a pretest loop that will execute until the value of z equals 10?
a)while (z >10) { z--; }
b)do { ++z; } while (z < 10);
c)for (var z= 1; z < 10; z++) { alert (z); }

Answer:-while (z >10) { z--; }

## Related questions

___________ is a pretest loop that will execute until the value of z equals 10 1. while (z >10) { z--; } 2. do { ++z; } while (z < ... 3. for (var z= 1; z < 10; z++) { alert (z); }...
In the following circuit, when R = 0 Ω, the current IR equals to 10 A. The value of R, for which ... Questions for GATE EC Exam, Network Theory MCQ (Multiple Choice Questions)...
10. The DO_LOOP UNTIL executes the loop at least ILAT I ptional. Select the correct answer from above options...
10. The DO_LOOP UNTIL executes the loop at least ILAT I ptional. Select the correct answer from above options...
A fair die is tossed repeatedly until a six is obtained Let X denote the number of tosses required The probability that ... D. 125 216 Select the correct answer from above options...
A fair die is tossed repeatedly until a six is obtained Let X denote the number of tosses required The probability that ... 125)/(216)` Select the correct answer from above options...
A fair die is tossed repeatedly until a six is obtained Let X denote the number of tosses required The probability that ... (25)/(216)` Select the correct answer from above options...
How many times the following loop will execute? And, what will be the output of this loop? int m=3; for (; m...