Question: int n 1 = 1 2 ; int n 2 = 1 8 ; int n 3 = 2 1 ; What is the result

int n1=12;
int n2=18;
int n3=21;
What is the result of each boolean expression?
n1< n2
True
n3== n2
False
n3==(n1+9)
True
(n2> n1) && (n2< n3)
True
n3>=(n1+ n2)
False
!(n1== n2)
True

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!