Computer Science, asked by TbiaSamishta, 1 year ago

assuming a=5 b=6 what is the result of the following statement ((a! =b) &&(a>=b))

Answers

Answered by prosoul
1

a!=b true

a>=b false

this is ur output

Answered by aqibkincsem
1

((a!=b)&&(a>=b)) has two parts and they are a!=b, a>=b. From the data that is provided, a=5 and b=6.

Therefore, a!=b is true, a>=b is false. Since both the statements are connected using logical AND therefore the value of ((a!=b)&&(a>=b)) is false.

This is a simple logical statement. In this statement, && are the logical operators.

Similar questions