Computer Science
IDENTIFYING ERRORS IN CODE
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