Although there is no proper ASCII value for arrow keys but we can control them using this simple code
In the above program we enter a intial value for table.Then it waits for user to enter a key.
1.If we press up arrow then our table(maths) will increase by 1
- if we press down arrow then our table(maths) will decrease by 1