Flashcards
Sem título
Flashcards do 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;
}
Informações
- Descrição
- Computer Science Computer Science FlashCards sobre Sem título, criado por José Miguel Gallardo em 12-02-2015.
- Criado por
- José Miguel Gallardo
- Visualizações
- 7
- Avaliação