Integer N = 3; Integer I = 1; Function Sequence Do While (You are not bored) If(I is even) N = N - (5*(I/2) - 1); Else If(I is odd) N = N + 4 * ceiling(I/2); I++; End While End Function
[Edited by Neo7, 5/1/2012 8:32:17 AM]
--------------------------------------------------------------------------- Your bitterness, I will dispel
X is a letter in the alphabet. In relation to this question, it is a variable. It is holding the value of 28, logically. In terms of the multiple choice, X is the value to which A is listing, so X=A.
Or to put it simply, the numbers alternate between multiples of 3 and 7, i.e. 3, 6, 9, 12, and 7, 14, 21, 28. So yeah, like everyone else has said, X = A.
--------------------------------------------------------------------------- "Remember the good old days when you could just slap Omni-Gel on everything?" - Shepard, ME2
"Not right now. Trying to determine how Scale Itch got aboard. Sexually transmitted disease carried only by Varren..... Implications unpleasant." - Mordin, ME2