I've 3 variables a,b,c
The initial values of this variables will be 'false'
I want to compare this variables only have that 'true' value.
For example,
a=true,b=false,c=true.
So I need to compare like,
if(a && c)
if, a=true,b=true,c=true,
if(a && b && c)
How can I generate this if condition dynamically?
bandc, aretrue, what's the meaning of writingif (b && c) {...? since this clause will always pass.