Last active
October 15, 2019 17:58
-
-
Save bryanisimo/aedbda79d1c7a2a5fba1a94cb3a9f10e to your computer and use it in GitHub Desktop.
Ejemplo.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static void main(){ | |
| String str = (12345).toString(); | |
| String[] arrOfStr = str.split(""); | |
| String result = ""; | |
| for (String a : arrOfStr) { | |
| String temp = Math.pow(parseInt(a), 5).toString; | |
| result = result.concat( temp ); | |
| } | |
| system.out.println( result ); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment