Respuesta :
Answer:
The programming language is not stated; however, I'll answer this question using Python programming language.
The program is as follows;
def mul(num):
print(num ** 3)
num = 2
mul(num)
Explanation:
The above simple program returns the cube of a number
The parameter is what is being passed to a function;
In this case, the parameter is num
The value of a parameter is what is referred to as argument.
In this case, the argument is 2
So, when the program is executed; the expected output is 8 (i.e. 2³ = 8)
The illustration of a function definition in python is given below, the program is written in python 3 thus :
def cube_value(num):
#initializes a function with takes on one parameter , num
return num**3
#returns the cubed value of the parameter
print(cube_value(5))
#prints the cal’ed function is an argument of 5
- The listed names during function definition are called the Parameters
- The actual values passed at the time the function is called refers to the argument.
Hence. num is a parameter ; while, 5 is an argument.
Learn more : https://brainly.com/question/16904811