Created
June 23, 2018 01:25
-
-
Save hyst3ric41/ba3674b7bbb17e70e26dfc4e817657e7 to your computer and use it in GitHub Desktop.
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 class ejemplo3 { | |
final static byte[] n = { 4, 2, 5, 1, 6, 0, 6, 9, 5, 4, 5, 0 }; | |
static int resultado = 0; | |
public static void main(String[] args) { | |
for(int i=1; i<=n.length; i++){ | |
for(int j=n.length; j>=1; j--){ | |
resultado = i*7; | |
resultado /= 2; | |
} | |
} | |
System.out.println("El resultado es: "+resultado); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment