Kavya-24 / Snippets

Hacktoberfest 2024
22 stars 112 forks source link

Create Modified_Kaprekar_Number.java #320

Closed KumarDevada closed 1 year ago

KumarDevada commented 1 year ago

In mathematics, a Kaprekar number for a given base is a non-negative integer, the representation of whose square in that base can be split into two parts that add up to the original number again. For instance, 45 is a Kaprekar number, because 45² = 2025 and 20+25 = 45. This code gives all kaprekar numbers within a given range.

Description:

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes #issue_number_here
Directory of new/updated file: ""

Type of change:

Checklist:

Screenshots / Video: