Arduino Buttons

Thanks, but how do I do this with out resisters? Can you share a diagram/flow?
All of the replies are super helpful!!!