Loading...
Give the output of the following program segment and mention how many times the loop will execute: int k; for ( k = 5 ; k < = 20 ; k + = 7 ) if ( k% 6==0 ) continue; System.out.println ( k );
Give the output of the following program segment. How many times is the loop executed? for(x=10; x>20;x++) System.out.println(x); System.out.println(x*2);
© 2026 PadhAiPro. This question is provided for educational purposes.