Created
February 6, 2025 18:33
-
-
Save Dulce-Maria-Tolentino-De-Anda/23c04ae7895d2864c287db0eefd15fa6 to your computer and use it in GitHub Desktop.
funcion que devuelve un valor return parametros de entrada
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
//FUNCIONES BASICAS QUE NO DEVUELVAN EL VALOR | |
//PERO EJECUTA LAS INSTRUCCIONES ENTRE LLAVEs | |
int resta (int a, int b){ | |
return a-b; | |
} | |
void main() { | |
print ("DULCE MARIA TOLENTINO DE ANDA 22308051281367"); | |
int x= 9; | |
int y= 3; | |
int r=resta(x,y); | |
print("la resta de $x - $y es $r "); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
salida