Ok, I think I am doing this right. How do I get it to print the new array after I have changed the element to the guest initial?
EDIT: Also I know that I am probably not doing this the best way possible, but I have to do it the way I know how, I want to understand what I am doing, and this is just the way I work it out.
This is what I have:
#define ROWS 4
#define COLUMNS 2
void printArray(int a);
void modifyElement(int e, char guest);
char guest, junkChar;
printf("In which seat would you like to place a guest?\n");
printf("What is the initial of the guest you would like to place in this seat?\n");
printf("You have entered an invalid seat number, please restart program.\n");
void printArray(int a)
void modifyElement(int e, char guest)
e = guest;