Fichas
Sin título
Fichas del conjunto (7)
- 1Function or SubroutineFunctions are "self contained" modules of code that accomplish a specific task.
- 2How do they work?They "take in" data, process it, and "return" a result.
- 3DeclarationReturn Type+Function Name+Parameters
- 4Return TypeThe type of the result the function will return
- 5Function NameThe functions name, think of a title that tells people what this function will do
- 6ParametersVariables that the function needs in order to properly work
- 7Examplefloat Sum (int number1, int number2){
int result=number1+number2;
}
Información
- Descripción
- Computer Science Computer Science Fichas sobre Sin título, creado por José Miguel Gallardo el 12/02/2015.
- Creado por
- José Miguel Gallardo
- Visitas
- 7
- Valoración