Accenture interview question

Define State variable Write program to use state Hooks Redux etc