
04-05-2010, 01:34 PM
I think a selection statement is something that does something based on the trueness/falseness of a condition. So a if/else statement and a while statement would be considered selection statements. A loop could also be considered a selection statement since it actually keeps looping while the counter is less than the amount of times it should loop. I would ask your professor/teacher if looping structures count (you can use my explanation to explain it to him.) And yes, I know trueness is not a word.
|