Karteikarten
Ohne Titel
Karten in diesem Stapel (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;
}
Informationen
- Beschreibung
- Computer Science Computer Science Karteikarten am Ohne Titel, erstellt von José Miguel Gallardo am 12/02/2015.
- Erstellt von
- José Miguel Gallardo
- Aufrufe
- 7
- Bewertung