Answer:
Argument
Explanation:
The function is the block of the statement which performs the special task.
when we define the function in the program then we have to call that function.
the syntax for defining the function:
type name(parameter_1, parameter_2,...){
statement;
}
the syntax for calling the function:
name( argument_1, argument_2,...);
Meaning of parameter and argument
The argument is used to send the value into the function definition. this can be passed by value or pass by reference.
The parameter is used to receive the value send by calling function.
Therefore, the answer is the Argument.
Answer:
Answered below
Explanation:
This solution is written in Kotlin programming language.
fun average (a: Int, b: Int, c: Int, d: Int, e: Int) : Double {
#variable to hold the addition of all parameters
var sum = a + b + c + d + e
#variable to hold the average of sum
var avg = sum / 5
return avg
}
#call the function to see how it works.
# this operation is done in the fun main()
var test: Double = average ( 5, 4, 7 , 3, 9)
print (test)
Answer A. Hope it helped c:
D I think because none of the others seem like very important things,