ICSE JAVA, Number based Programs or Digit extraction Programs

Ayush VanvaryAyush Vanvary
1 min read

Understanding the Concept:

This topic is widely recognized among those who are just starting to learn programming. Typically, these questions revolve around numbers and the digits they contain. It's curious to ponder who came up with such mind-boggling programs.

Example of Thala No.:

One particularly trendy example of a No.-based program or Digit-based program nowadays is what's known as a "Thala No." Thala, for a reason.

Example Demonstrations:

For instance, consider the number 124. If we add each digit (1+2+4), we get 7. Hence, we can classify 124 as a Thala No.

Here's another example: 826. (8+2+6) equals 16. Since 16 is a two-digit number, there's a chance that 826 could still be a Thala No. To determine this, we continue adding the digits until we obtain a single digit. So, for 16, we add 1+6, which equals 7. Thus, 826 is also a Thala No.

Exploration of Programs:

In this series, we will explore all the famous digit-based programs that are frequently asked about. We will adopt a holistic yet best approach to solving these types of questions, focusing not just on the solution but also on the approach to solving similar problems. Solutions may vary, but the approach will likely remain consistent.

0
Subscribe to my newsletter

Read articles from Ayush Vanvary directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Ayush Vanvary
Ayush Vanvary

Hello, I'm Ayush Vanvary. Skilled in Python Django and MySQL, I'm equally passionate about sharing my expertise as a tech educator. With experience as a Java tutor, I've honed both my coding prowess and teaching abilities. Additionally, I regularly contribute insights through straightforward, informative tech blogs, enriching readers and nurturing a vibrant community