Programming/Coding Help Needed

when programming 3 light switches to an arduino uno, do you have to define the input and output in seperate pins?

Read this before posting a programming question

do you have to define the input and output in seperate pins?

Obviously.

Try the Button example in the IDE. One button turns on one LED.
Expand on that idea.