I'm not entirely sure how I would go about using the results i get in my winner function in other functions i.e. outputting into a file, displaying results in program.
Could you elaborate as to how I would go about doing that? Say the user won, how would translate that into a value that I could use in other functions?
You've already defined a variable result in your Winner function, and the function is returning the value of that variable to the calling code. You just need to actually set the value of that variable to something useful.
I have just two more questions. When in event of a tie, how would I force the loop to start over, forcing the user to play another round. To my knowledge, I can't just recall the main function to do so.
As for the winner function, I've set the values accordingly in events of a win, loss, or tie. How would I pass those values so that I could use them in the main/output function? As in, if the winner function returns a user win, how could I use that to increment a value that would be displayed in the main function. Would I use an if statement? If so, how would the statement go?