Predefined Functions
A predefined function is commonly used code that has been written by the creator of a coding language.
At National 5, there are three predefined functions you need to know – Length, Round, and Random.
The Code Always Works – As the code has been written by the developers, the code will almost always work as expected.