It works for the first part of my program than after it finishes the first useroutput nothing else works please explain it too me im confused I thought it should work my computer says error program stopped workingCode:main() { UserOutput(-1); GetALine(); UserOutput(7); UserOutput(-2); } int UserOutput(int action) { if(action==-1) { printf("Hello How are you doing today"); return 0; } else if(action==-2) { printf("Good bye see you soon"); return 0; } else if (action>0) { GetALine(action); } } int GetALine(char str[]) { int i=0; while(str[i]!='\n') { i++; } return i; }