Hi everyone!
What is the best way to be acble to change values in an array?
For example, if i have an array declared like this:
int a[] = {1, 2, 3, 4, 5, 6};
how can i change those values later on on the program? Like say those are the initial values but, i would like a keyboard listener so that the user can manually change those numbers him/herself.
OR
can i initialize an array like this:
int a[] = {int x1, int x2, int x3, int x4, int x5, int x6};\
and then change the values this way.
Any suggestions, what am i doing wrong I appreciate all the help
Thanks,
Gabe