Choose your prefered Language:
Write a C language program that will find and display all positive four-digit integer numbers ([1000.9999]) that meet one of the following two attributes: a. The sum of the squares of the two numbers resulting from the first two and the last two digits of the number equals the number of e.g. 1233 = 122 + 332 b. The cube of the sum of digits of the number equals the number of e.g. 4913 = (4 + 9 + 1 + 3) 3 Finally, the number of these numbers should be displayed.