- Home
- Java Number Programs (ICSE Classes 9 / 10)
Tech Number Java Program
Java Number Programs (ICSE Classes 9 / 10)
A tech number has even number of digits. If the number is split in two equal halves, then the square of sum of these halves is equal to the number itself. Write a program to generate and print all four digits tech numbers.
Example:
Consider the number 3025
Square of sum of the halves of 3025 = (30 + 25)2
= (55)2
= 3025 is a tech number.