in , ,

Got this terrible question on the AP Computer Science Principles practice AP test. Answer key said correct answer was C, as far as I can tell the answer is D.

Got this terrible question on the AP Computer Science Principles practice AP test. Answer key said correct answer was C, as far as I can tell the answer is D. | code-memes, computer-memes, computer science-memes, test-memes, c-memes, ML-memes | ProgrammerHumor.io
code-memes, computer-memes, computer science-memes, test-memes, c-memes, ML-memes | ProgrammerHumor.io

[text] . num2 . temp g i 3 3 3 g . j 7 5 D numl num2 C Code Segmet 11 s oddNum . pumber. o Lah s REPEAT 30 TIMES IF number MOD 2 J i T LTl C Only Code segment 2 will correctly add all eieprnunlgrg 1 zg D Neither code segment will correctly add all even numbets to3 f t