First, please read the post at the top of the Forum by Nick Gammon on how to use this Forum, especially the use of code tags when posting code. Second, use Ctrl-T in the IDE to reformat your code before posting. Third, take a look on how to use the switch/case statement block, which is a better way to approach your solution than a cascading if/else statement block.
You should NOT continue with the code until you have some requirements. If you do have requirements, it does not help if you ask us how to write code to implement them without you having shared them.