(Q-5)-10th java 2023 solve computer paper | To check whether the number is a lead number

Опубликовано: 02 Март 2026
на канале: BOOSTING SKILLS
78
5

#icse #computer
Computer Applications 2023 Specimen Paper
Section-B All Java Programs Solved
Important Java Programs for Exam
--------------------------------------------------------------------------------------------------------------
Question 5
Define a class to overload the function print as follows:
void print() to print the following format
1 1 1 1
2 2 2 2
3 3 3 3
4 4 4 4
5 5 5 5
void print(int n) To check whether the number is a lead number.
A lead number is the one whose sum of even
digits are equal to sum of odd digits.
e.g. 3669 odd digits sum = 3 + 9 = 12
even digits sum = 6 + 6 = 12
3669 is a lead number.

--------------------------------------------------------------------------------------------------------------
📚 ICSE Express Class-10th -
-------------------------------------------------------
🖥️ Excelling in ICSE Class 10 Computer Science made easy! 💻 Dive into "Complete Computer in One Shot" for a thorough walkthrough of crucial concepts and Previous Year Questions. 🚀 Elevate your exam preparation and conquer ICSE Boards with confidence! 🌐 Unleash your potential in the world of technology!
-------------------------------------------------------
Introduction
Paper Pattern
Output and Variables
Keywords & Literals
Increment & Decrement
User Input
Data Types
Arithmetic Operators
Relational Operators
Conditionals
Logical Operators
Ternary Operators
Compilation
Loops
Methods
Errors
Strings


Join our YouTube family, lets grow together!
#computer #icseclass10samplepaper
#class10th
#computerscience #10thicse