@LadyInRed7 Why to put exit in main()? You should use it only when there is no option to just return from main, as it doesn't unwound stack. And btw you mismatched curly brackets.
Looking at everyone's code help and solutions so far, are you supposed to implement a third case? For when the user selects 0, since 0 isn't negative, nor is it positive.