0

What does the truth table come to play in a selection Control structure?

7th Mar 2020, 5:39 AM
Smail Moussouni
4 odpowiedzi
+ 2
I am not able to understand it
7th Mar 2020, 5:42 AM
Rajat Porwal
+ 1
an example is when you have 2 or more different condition //and if both are required if( condition A && conditionB) //or if one are optional if( conditionA || conditionB) //not if one condition shouldnt be true if(!conditionA) you can use them all at once like //NOT(A AND (B OR C )) if(!(A && (B || C))) as long as tge structure are clear
7th Mar 2020, 6:09 AM
Taste
Taste - avatar
0
The truth table is True And true = true True and true = false True or true = true True or false= true
7th Mar 2020, 5:47 AM
Smail Moussouni
0
Thanks bro
7th Mar 2020, 6:11 AM
Smail Moussouni