Computer Science, asked by anjaliverma47, 1 month ago

what is function? explain with examples​

Answers

Answered by Anonymous
5

Answer:

A function is a rule which relates the values of one variable quantity to the values of another variable quantity, and does so in such a way that the value of the second variable quantity is uniquely determined by (i.e. is a function of) the value of the first variable quantity.

Answered by Itzcupkae
32

Explanation:

A function is a mapping from a set of inputs (the domain) to a set of possible outputs (the codomain). The definition of a function is based on a set of ordered pairs, where the first element in each pair is from the domain and the second is from the codomain.

Similar questions