Hi Dara,
the code will need a single button
in the following picture the button is representing the "pushing force"
imagine a rotary-switch with multiple positions. every "push" turns the rotary-switch to the next position.
depending on the position different actions take place
the basic idea is to have code that detects if an inputpin with a button conected changes from "unpressed" to "pressed"
when detecting the statechange a countervariable gets incremented.
if counter == 1 execute sequence 1
if counter == 2 execute sequence 2
if counter == 3 execute sequence 3
etc etc etc.
so there are two things to write code for
a: detecting io-pin-change and if it has happened increment variable
b: the if-conditions
You did't wrote anything about your knowledge how to connect buttons to a microcontroller
In the mictocontroller-world things are not super-standardized like USB-devices.
You have to take care of more things than "fits the plug into the socket?"
So here is a tutorial about how to connect buttons and switches to microcontrollers
here is a tutorial about detecting statechanges
the if-conditions can create the functionality to execute code depending on the counter-variable
a more elegant way is to use the switch case -function
https://www.arduino.cc/en/Reference.SwitchCase
best refards Stefan