Created
September 1, 2022 22:51
-
-
Save arawako/e0d572c8e90403afc8bf9a2ac8644e12 to your computer and use it in GitHub Desktop.
Ejercicio resuelto del tema 3 de OpenBootcamp
This file contains 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 suma { | |
public static void main(String[] arg) { | |
sum( 10, 20, 50); | |
} | |
public static void sum(int a, int b, int c) { | |
int resultado; | |
resultado = a + b + c; | |
System.out.println(resultado); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment