What is Function?

Cards (5)

  • A function is a block of code that is designed to perform a specific task. It can break down complex problems into smaller or manageable parts.
  • A function is a block of code that is designed to perform a specific task. It can break down complex problems into smaller or manageable parts.
  • A function is a block of code that is designed to perform a specific task. It can break down complex problems into smaller or manageable parts.
  • Why use functions?
    • Code reusability
    • Modularity
    • Improved Readability
    • Abstraction
  • Why use functions?
    • Code reusability
    • Modularity
    • Improved Readability
    • Abstraction