So far I've got the following:
#include <stdio.h>
#include <unistd.h>
#include <math.h>
#include <string.h>
int main (void)
{
    printf("Loading BES Command Prompt...\n");
    sleep(5);
    printf("> ");
    char *input;
    scanf("%s", input);
    printf("\n");
    if (input == "exit")
    {
        printf("Terminating BEScmd.c...\n");
        sleep(2);
        return 100;
    }
}
However I need help because it won't use printf("Terminating BEScmd.c...\n"); and the compiler says it aborts with the Exit Code "0", not "100" which is what I want it to stop with.
Can you please help me here?
 
    