I'm not sure what the question is here, but there are a few things you may wish to look at. First, you have declared a char array, and then asked for user input. You are then comparing that input to another value. If you are comparing the entire char array to the value, you will need to use the strcmp() function, not the equality sign. If you plan simply to compare one character to the value, the you'll need to specify the index and use character literals, like so:
CODE
if(char[0]=='1')
You are asking the user to enter a choice...are they entering the number, or the word? If the number, you can use an integer variable type.
Your code to check if th value is '2' is inside an if statement that has laready checked if the value is '1'...it will not be run. I assume you wish to check if it's '2' as a separate check.