If you take the number 2178, multiply it by four, and reverse the digits — you will get 2178 again. This is the only four-digit number that has this property (or so I am told).
There is also a five-digit number that works! Write a program to find the five-digit number that is reversed when multiplied by 4. Your program should be structured in such a way that the main program calls upon a helper method that determines whether a particular 5-digit number satisfies the required property (and if so, prints a message to indicate success).Attachments