96.0k views
4 votes
How do functions work?

Functions use ______ and operators, perform calculations, and return a _______

2 Answers

3 votes
It must work for every possible input value And it has only one relationship for each input value
User Panda
by
5.6k points
3 votes

Answer:

First blank: inputs

Second blank: output

Step-by-step explanation:

Functions use inputs and operators, perform calculations on these inputs, and return an output. The concept is similar to mathematical functions, but in programing, functions can take and operate with many kinds of variables, not only with numbers.

User Emiel Koning
by
5.1k points