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 );
Define a class to accept values in integer array of size 10. Find sum of one digit number and sum of two digit numbers entered. Display them separately. Example: Input: a[ ] = {2, 12, 4, 9, 18, 25, 3, 32, 20, 1} Output: Sum of one digit numbers : 2 + 4 + 9 + 3 + 1 = 19 Sum of two digit numbers : 12 + 18 + 25 + 32 + 20 = 107
© 2026 PadhAiPro. This question is provided for educational purposes.