Arudino LED with Button

i’m not good at english.sorry T.T!!
I should coding this problem.
It is necessary For sentence and switch sentence.
and result is if i push button , something result and next i push button again another result. (need a 4 cases results)
Below is my…limit(hmm…maybe below also …wrong…?)
cf.I used Atmega2560 arduino .

#define button 12
#define LED 13

boolean on = false;
int buttonCount = 0;
int programCount = 0;
int buttonState = 0;
void setup() {
Serial.begin(9600);
pinMode(LED,OUTPUT);
pinMode(button,INPUT_PULLUP);
}

void loop() {
buttonState= digitalRead(button);

switch( buttonState )
{
case 1 :
Serial.println( “Case 1 =>Button”);
digitalWrite(LED, HIGH);
delay(3000);
digitalWrite(LED, LOW);
delay(3000);
buttonCount++ ;
programCount++ ;
break;

case 2 :
Serial.println( “Case 2 =>Button”);
digitalWrite(LED, HIGH);
delay(5000);
digitalWrite(LED, LOW);
delay(5000);
buttonCount++ ;
programCount++ ;
break;

}

buttonState= digitalRead(button);

switch( buttonState )

You almost certainly care about when the switch BECOMES pressed, or released, not when the switch IS pressed, or released.

Look at the state change detection example.

The value in button state will be HIGH or LOW, not 1 or 2.

buttonState = digitalRead(button);

  if (buttonState == LOW)
  {
     //here something happens after pressing your button
     while(digitalRead(button)==HIGH)
     {
        //here you wait for the button to be pressed again
     }
     //here something happens after pressing your button for the second time.
  }

Maybe try something like this instead.