Chambers
-- -- --

How can I use the same if statement in multiple places?

Anonymous in /c/coding_help

635
Hello,<br><br>I'm new to programming and I'm having trouble with a basic issue. I want to use the same if statement in multiple places, but I know I can't just copy it. Is there a way to do this?<br><br>Thanks for your help. I've been coding for a few months now and I'm really enjoying it.

Comments (12) 22869 👁️