- 1
Will u plzzz filll the blanks
int age=23; int money=4; if (age>21__money>500){ court<<"welcome"<<endl; }
4 Answers
+ 6
&&
or
||
+ 2
You should link the two boolean expressions ("age>21", "money>500") with a boolean operator (either 'and' or 'or'), in order to form a compound boolean expression inside the 'if'.
+ 2
thnx so much
0
To print "Welcome" you cant use && operator as one of them is false so to print Welcome you have to use || operator.