One of the first functions we used is here.

Take a look how we take the code from main and put it in the function.

If main is a bit difficult to understand, replace main with this


int...