How to store the state of the push button?

i have a question for you guys.

By making use of LED, 3nos. of pushbuttons , 1 slide switch breakout :: Slide. The slide switch turns ON or OFF the system from functioning as follows. LED turns ON when a
particular sequence/ order of buttons are pressed, turns OFF when
any button is pressed.

please reply as soon as possible

Do you know how to read the state of one pushbutton ?

Shamanth:
By making use of LED, 3nos. of pushbuttons , 1 slide switch breakout :: Slide. The slide switch turns ON or OFF the system from functioning as follows. LED turns ON when a particular sequence/ order of buttons are pressed, turns OFF when
any button is pressed.

i have a question for you guys.

What is the question? That wasn't a question. It looks like copy/paste from an assignment.

please reply as soon as possible

Homework due tomorrow, huh?

How to use this forum

Have you already tried to write a program ?

If so
please post your code

If not
try to write your program
then if it does not work
please post your code

People here will be happy to help
But YOU must do the work

...R