What the programme is suppose to do: User will enter a name and if its "JACK SON BOY", the progamme will state that he is a douchebag else progamme will state that he is not a douchebag. Help me check whats wrong with my code
Here is my code
Code:
//"Are you a douchebag test"//
#include <stdio.h>
char main()
{
char name;
printf("Enter you name/n");
scanf(%c,&name);
if (name == JACK SON BOY)
printf( " you are a douchebag\n");
else if (name != JACK SON BOY )
printf(" you are not a douchebag\n");
return 0;
}
Thanks in advance