D. R. Kaprekar was born on 1905-01-17.
//To check whether a number is Kaprekar or not public class kaprekar { public static void main(int x)//Enter number { int num=x*x,no=x,digit=0; int rev=0; do { digit++; no=no/10; } while (no>0); no=num; while(digit > 0) { rev=rev*10+no%10; no=no/10; digit--; } int r=0; while(rev > 0) { r=r*10+rev%10; rev=rev/10; } if((r+no)==x) { System.out.println("It is a Kaprekar No. "); } else{ System.out.println("It is not a Kaprekar No. "); } } }
Kaprekar and one that's so easy a 5 year old could answer it
R. D. Fitzgerald died in 1987.
A. R. D. Fairburn died in 1957.
D. R. Wijewardena died in 1950.
R. D. Raval died in 1980.
D. R. Nanayakkara died in 1989.
R. D. Smith died in 1985.
42
R. G. D. Allen died in 1983.
D. R. Shackleton Bailey died in 2005.