Hello,
On my program I have 9 char named c1,...c9.
During the program, I write: gtch=getchar() (I should give a number between 1 and 9)
How can I modifiy the "value" of the character c1,...9 according to what number I enter?
For example, c4= 'x'. Then, I enter the number 4, so gtch='4'. How can I transform c4 to 'y'.
PS: I'm a begginer on C...
Thank you !