It's a "guess the number game". i got it to work but the teacher said that it needs to be divided in to four separate functions or subroutines and I have no clue how to do that. Plus i need to add a way to count how many times it runs through the loop and print a massage that says
if it's less then 10 " you know the secret or got lucky"
if it is ten " you know the secret"
and more then "10 you could have done better"
i really need some help please and thank you