digital write two output pins off one input

Is it possible to have one input button turn on two outputs?.....digital write two output pins off one input.

convertiblehaus@aol.com:
Is it possible to have one input button turn on two outputs?.....digital write two output pins off one input.

Yes. What's the problem ?

if (digitalRead(inputPin) == LOW)
{
  digitalWrite(outputPin1, HIGH);
  digitalWrite(outputPin2, HIGH);
}