What is X?
a) 28b) 15c) 30d) 18
Anyone can agree with me that the answer is 28? If so, how did you figure it out?
[Edited by shafir, 5/1/2012 3:10:59 AM]
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 WhileEnd Function[Edited by Neo7, 5/1/2012 8:32:17 AM]
[Edited by Neo7, 5/1/2012 8:32:17 AM]
If we don't end war, war will end us "H.G.Wells"