First I wanna say that I'm new to c, and this may be a stupid question but ......whatever.......
OK, in the begining of this program I have to write, I have to ask the user if they want to continue on with the program or not. Its something like this.......
blah blah blah, do you want to continue (user enters "yes" or "no"). If user enters "yes" the program continues, if "no" the program ends. This is what I have done.
printf("Do you want to continue?? yes or no??");
if (x = 'yes')
. (the rest of the program)
I don't get an error, I get a warning so the program still works but i wanted to know what i did wrong. Can someone help me.