Flowcharts and Subroutines

What are they and why are they used?

Flowchart

A flowchart is a diagram representing a process as steps and the order they go in. It is used to illustrate solutions to problems.

Subroutine

A subroutine is a sequence of code that perform a specific task and can be called at any time. They are used to shorten codes and make them easier to use.