What is the count for the instruction CountMe as a function of n for the fragment below? (Assume that n can be either even (2k) or odd (2k+1))
Line 1: j = 0
Line 2: while (j < n) {
Line 3: CountMe
Line 4: j = j+2;
}
Line 1: j = 0
Line 2: while (j < n) {
Line 3: CountMe
Line 4: j = j+2;
}