CLASS 10 ICSE BOARD JAVA 2023 QUESTION-8

Опубликовано: 24 Июль 2026
на канале: Alex Sir
300
10

Question 8
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

Click here for more :
https://alexsir.com/class10-icse-comp...