Computer Science, asked by vishalk90348, 6 months ago

Benefits of using the function​

Answers

Answered by Anonymous
0

{\tt{\purple{\underline{\underline{\huge{Answer:}}}}}}

The advantages of using functions are:

  • Avoid repetition of codes

  • Increases program readability

  • Divide a complex problem into simpler ones

  • Reduces chances of error

  • Modifying a program becomes easier by using function
Answered by gowasmiprasanta
1

Here is your answer :-

What is function??

A function is a block of organized, reusable code that is used to perform a single, related action. Function provide better modularity for your application and a high degree of codes reusing.

•••• Good things about function??

Good things about function are, that they are famous with several names. Different programing language names them differently. For example :- Functions , methods, sub - routines, procedures etc.

The benefits of using function are as follows:-

( 1 ) Avoid repetition of codes.

( 2 ) Increases program readability.

( 3 ) Divide a Complex problem into simpler one.

( 4 ) Reduces the changes of error.

( 5 ) Modifying a program becomes easier by using function.

Hope it helps you!!!!

Please please mark it as brainleast!!!!

Similar questions