Skip to content

Instantly share code, notes, and snippets.

@floresstd
Created February 6, 2025 18:20
Show Gist options
  • Save floresstd/31b13febc0c119c4811632576ac66e7d to your computer and use it in GitHub Desktop.
Save floresstd/31b13febc0c119c4811632576ac66e7d to your computer and use it in GitHub Desktop.
Funcion saludar() mas funcion suma
void saludar(){
print("Buenos Dias");
}
void suma(){
int n1 = 2;
int n2 = 5;
int s = n1 + n2;
print ("La suma de $n1 + $n2 es $s");
}
void main() {
print("Jesus Flores 223080512811186");
//llamar a la funcion saludar}
saludar();
//Llama a la funcion suma
suma();
}
@floresstd
Copy link
Author

Funcion suma()
image

@floresstd
Copy link
Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment