|
Im a newbie at programming and im having trouble finding out how to code my method,
im trying to make the method make 4 digit numbers which is 1000-9999, and make it go through each one and the the 4 digits and take each one to the fourth power such as for 1000
1^4 + 0^4 + 0^4 + 0^4 = 1 != 1000 so this wont print to the terminal window, the 4 digits to the fourth power must equal the 4 digit number and the method must go through 1000-9999 before ending.
plz help im completely stumped on how to do this.
|
|
|
|
|
|
|
|