0
With are the diferents betleem int function and void function.At what type of program shoul i use one of them
3 Respuestas
0
Example:
void jump(). This function just makes the
player jump, and does not need to return anything.
int getPlayerLife(). This functions returns the life of the player, and you want to return a value, in this case, an int.
0
tu ani you 😃
0
thank you