Presented is a real sitter for all novice programmers....
Find n. Hint:Find the number of iterations.
Find n. Hint:Find the number of iterations.
int i = 0; int n = 0; while (n < 11) { i += 1; if (i % 4 == 0) { n += 1; } } |
Comments