IDENTIFYING ERRORS IN CODE

profileayew58

Identifying Errors in Code

1. ( b2 == b1 ) And ( a1 <= a2 )

2. if ( a1 == 4 );
System.out.println( "a1 equals 4" );

3 if ( b2 == true )
System.out.println( "b2 is true" );

4. if ( b1 == true )
System.out.println( "b1 is true" );
else
System.out.println( "b1 is false" );
else if ( a1 < 100 )
System.out.println( "a1 is <=100" );

5. if ( b2 )
System.out.println( "b2 is true" );
else if ( a1 50 )
)
System.out.println( "a1 50" );
)
else
System.out.println( "none of the above" );

explanation



i am attaching a file for an idea how you have to explain 

  • 5 years ago
  • 5
Answer(1)

Purchase the answer to view it

blurred-text
NOT RATED
  • attachment
    Code.docx
  • attachment
    Code-1.docx