Skip to content

Instantly share code, notes, and snippets.

@bryanisimo
Last active October 15, 2019 17:58
Show Gist options
  • Select an option

  • Save bryanisimo/aedbda79d1c7a2a5fba1a94cb3a9f10e to your computer and use it in GitHub Desktop.

Select an option

Save bryanisimo/aedbda79d1c7a2a5fba1a94cb3a9f10e to your computer and use it in GitHub Desktop.
Ejemplo.java
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