Reading inputs

Hello everyone, I am new to the world of arduino. I am working on a project where I have 5-5v button inputs that need to output 5v from the arduino board. I cant seem to get the code right. Does anyone have any suggestions?

void setup()
// put your setup code here, to run once:
{
pinMode(11,INPUT);
pinMode(7,OUTPUT);

void loop() {
// put your main code here, to run repeatedly:
if (digitalRead(11)==HIGH)
digitalWrite(7,HIGH);
else if (digitalRead(11),LOW)
digitalWrite(7,LOW);
}

here is the first set. I need to have pin 7 be normally LOW, but when pin 11 receives input, 7 needs to be HIGH

There's no need to re-read the pin in an if else. There are only two states for the input so just make it an else. Otherwise that looks alright. Can't you just repeat that for the other four buttons now?

Are you debouncing the buttons through hardware?

void setup()
// put your setup code here, to run once:
{
pinMode(11,INPUT);
pinMode(7,OUTPUT);

void loop() {
// put your main code here, to run repeatedly:
if (digitalRead(11)==HIGH)
digitalWrite(7,HIGH);
}

So this would be correct?^^

One more quick one. When pin 10 in HIGH I need pins 6 and 5 also to be HIGH. Its not recognizing the if statement before the else, here is the code:
void setup()
// put your setup code here, to run once:
{

pinMode(10,INPUT);
pinMode(6,OUTPUT);
pinMode(5,OUTPUT);

}

void loop() {
// put your main code here, to run repeatedly:
if (digitalRead(10)==HIGH);
digitalWrite(6,HIGH);
digitalWrite(5,HIGH);
else digitalWrite(5,LOW);
digitalWrite(6,LOW);
}

Curly braces are your friend...

Braces (see the reference page in the help tab of the IDE), auto format (Ctrl+t), and code tags (read the "how to post" sticky).
I assume you have the switches between +5 and pin, and are using (10k) pull down resistors.

void setup() {
  pinMode(10, INPUT);
  pinMode(6, OUTPUT);
  pinMode(5, OUTPUT);
}

void loop() {
  if (digitalRead(10) == HIGH) {
    digitalWrite(6, HIGH);
    digitalWrite(5, HIGH);
  }
  else {
    digitalWrite(5, LOW);
    digitalWrite(6, LOW);
  }
}

Next time wire the switches between pin and ground, and use the internal pull up resistors (no external resistors).
Change pinMode(10, INPUT);
to
pinMode(10, INPUT_PULLUP); // enable the internal pull up resistor.
Logic is now inverted.
if (digitalRead(10) == HIGH) {
changes to
if (digitalRead(10) == LOW) {
Leo..