you know the secret or got lucky

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

www.clothingmallsale.com
www.manwearuk.com
www.clothingmallsale.com


What's this? A sale on blue jeans? I'm so there!
Me too Disch! Who wants to help someone with their programming when we can GO SHOPPING!
This is spam if you don't see that. The C++ related text is copied from this thread http://www.cplusplus.com/forum/general/65721/
Topic archived. No new replies allowed.