122k views
2 votes
What are the parameters of the printNumbers function?

function printNumbers(first, second, third){
println(first);
println(second);
println(third);
}

A. first, second, third
B. x, y, z
C. println
D. printNumbers

1 Answer

6 votes

Final answer:

The print Numbers function has parameters: first, second, and third. Therefore, the correct answer options is D)

Step-by-step explanation:

The parameters of the print Numbers function are first, second, and third.

For example, if we call the function like this: print Numbers (1, 2, 3), it will print:

  • 1
  • 2
  • 3

So, the parameters represent the values that can be passed into the function when calling it.

User Brian Witt
by
8.5k points