for (int i=1;i<10;i++)
{
if something == true
do something
else
do something
}
Here is what I want to do:
Outside the loop For, I need to summarize that at which i something = true
and at which i something = false
.