Computer Science, asked by 5353pandeyashok, 8 months ago

what is functions? what are the uses of its?​

Answers

Answered by loki2106
1

Answer:

Functions are used because of following reasons – a) To improve the readability of code. b) Improves the reusability of the code, same function can be used in any program rather than writing the same code from scratch. c) Debugging of the code would be easier if you use functions, as errors are easy to be traced.

Answered by ItsCuteAngel
7

{\huge{\boxed{\red{\boxed{\tt{Answer :-}}}}}}

Functions :-

A technical definition of a function is :

A relation from a set of inputs to a set of possible outputs where each input is related to exactly one output.

Uses of Functions :-

Functions are used because of following reasons :

a) To improve the readability of code.

b) Improves the reusability of the code, same function can be used in any program rather than writing the same code from scratch.

{\red{\underbrace{\sf{hope \: it \: helps \: u}}}}

Similar questions