How to use the pushbutton without using if, else I want to let the led blink for 3 seconds then 2 seconds then one second using the button one time and without using if/else

void setup() {
    // put your setup code here, to run once: 
    pinMode(5, INPUT); 
    pinMode(6, OUTPUT);
} 

void loop() { 
    // put your main code here, to run repeatedly: 
    digitalRead(5, HIGH);
    digitalWrite(6, HIGH); 
    delay(3000);
    digitalWrite(6, LOW);
    digitalWrite(6, HIGH); 
    delay(2000); 
    digitalWrite(6, LOW); 
    digitalWrite(6, HIGH); 
    delay(1000); 
}
As the required operation is finite and short, you can just hard code the sequence.