I have to write progarm for following problem -
File contain numbers. Numbers can be of 20 digits. I want to write program so that it can print number - with following property
75 * 75 * 75 = 421875 (last two digits are 75)
501 * 501 * 501 = 125751501 (again last 3 difits are same as 501)
Following numbers are also have same property
Please help me to solve this problem. I am sure strig need to use for it as there is no datatype that store number for 20 digits and its cube.