in Education by
assuming a=5 b=6 what is the result of the following statement ((a! =b) &&(a>=b)) Select the correct answer from above options

1 Answer

0 votes
by
 
Best answer
((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.

Related questions

0 votes
    m= 5 ;n=8; what is the result if the following statement is executed ?m-=++m+n–*(m+n); Select the correct answer from above options...
asked Dec 17, 2021 in Education by JackTerrance
0 votes
0 votes
    class year { public static void main() { int a=2000; if( a%4 == 0 && a%100 != 0); { System.out.println ... this it is showing 2 errors Select the correct answer from above options...
asked Dec 9, 2021 in Education by JackTerrance
0 votes
    (a) 6 (b) 5 (c) 0 Initialization is executed (a) all (b) 2 (c) 0 (d) Error time(s) in a loop. (d) 1 Select the correct answer from above options...
asked Nov 28, 2021 in Education by JackTerrance
0 votes
    what will be the result stored in a and b after evaluating the following assume that a=-4 and b=3 a=++b-a b+=a print (a,”,”,b) Select the correct answer from above options...
asked Dec 12, 2021 in Education by JackTerrance
0 votes
    Expand the abbreviations. 1. SAARC 2. ASEAN 3. OPEC 4. NIEO 5. NAFTA 6. OAS 7. WTO Select the correct answer from above options...
asked Aug 3, 2022 in Education by JackTerrance
0 votes
    >>> list(range(0, -9,-1)) will print [-1, -2, -3, -4,-5, -6, -7, -8) [0,-1, -2, -3, -4,-5, -6, -7, -8 ... [0,-1, -2, -3, -4,-5, -6, -7] Select the correct answer from above options...
asked Dec 28, 2021 in Education by JackTerrance
0 votes
    re arrange these words: (1)INFRMAAME, (2)ACINTOSHM,(3)AVIGATIONN(4),HDIE (5)YOUTLA, (6)ianm tcuneodm. Select the correct answer from above options...
asked Dec 10, 2021 in Education by JackTerrance
0 votes
0 votes
0 votes
    re arrange these words: (1)INFRMAAME, (2)ACINTOSHM,(3)AVIGATIONN(4),HDIE (5)YOUTLA, (6)ianm tcuneodm. Select the correct answer from above options...
asked Dec 1, 2021 in Education by JackTerrance
...