Skip to content

Instantly share code, notes, and snippets.

@arawako
Created September 1, 2022 22:51
Show Gist options
  • Save arawako/e0d572c8e90403afc8bf9a2ac8644e12 to your computer and use it in GitHub Desktop.
Save arawako/e0d572c8e90403afc8bf9a2ac8644e12 to your computer and use it in GitHub Desktop.
Ejercicio resuelto del tema 3 de OpenBootcamp
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