Monday , October 24 2016
Home / C / C program for Kaprekar number

C program for Kaprekar number

Here is given c program for Kaprekar number.

But before what exactly is a Kaprekar number?

A Kaprekar number is a number whose square can be broken/partitioned in such a manner that the sum of the partitions adds up to bring the number itself.

Example: 992 = 9801 : 98+01 = 99  (hence kaprekar)

// This program is however limited to check untill 99999 because long int has a range of 0 – 4294967296 and 999992 is greater than that

Also Check: Java program for kaprekar number


c program for kaprekar number
program for Kaprekar number

Incoming terms: C program for kaprekar number, c program to check whether it is a kaprekar number or not.

Also See:   c program for pattern#14

Check Also

Hide Mouse Pointer C Program

Announcement: Know how other students are getting higher education from abroad (US, UK, Germany) and ...