Hi all!

I'm learning how to separate a program into functions and have come accross a strange problem which works before function breakdown, but not after!

Please find my code below, the...