Let's say function 1 and function 2 are called in main(void).
I have also created function 3.

Function 1 and function 2 give separate print statements whenever the loops within their respective functions meet certain qualifications.

I want function 3 to print a statement whenever both function 1 and function 2 give their results/outputs. How would I go about this? What would I include in function 3? What statements would I use? I hope this makes sense.

I have the actual code, I just wanna try to figure this one out myself haha.

More background: Function 1 prints if a card shuffle is a pair, while function 2 prints if a card shuffle is a 3 of ___. I want function 3 to print if there is a full house, which in poker is when both a 3 of ____ and a pair of something occur simultaneously.