👤

What are two benefits of defining a function?

A. It can be reused in multiple spots throughout the program. B. It keeps code smaller by reducing the number of blocks. C. It allows custom functions to appear as an option for all sprites D. It decreases the computer's processing speed

Answer :

The two benefits of defining a function are:

  • It keeps code smaller by reducing the number of blocks.
  • It can be reused in multiple spots throughout the program.

What is this function about?

A function is defined based on the link that exist between a set of inputs having one output each.

Note that  a function is  simply a relationship that exist between inputs where each input is linked to one specific  output.

Therefore, The two benefits of defining a function are:

  • It keeps code smaller by reducing the number of blocks.
  • It can be reused in multiple spots throughout the program.

Learn more about  function from

https://brainly.com/question/23897143

#SPJ1

Go Teaching: Other Questions