What is wrong with this short C code <p>I'm trying to scan input, if user types "yes" put "etc" otherwise exit. But it's not working right, when i type yes it says invalid instead. Thanks ahead of time. </p> <pre><code>#include &lt;stdio.h&gt; char yes='yes'; char name[100]; int main() { puts("Starting History Project please Enter your name: "); scanf("%s",&amp;name); printf("Hey %s!",name); puts("My name is C! Are you interested about my history? yes or no"); scanf("%s", &amp;yes); if (yes == 'yes') { printf("Starting ADT \n"); } else { printf("Invalid\n"); exit(0); } return(0); } </code></pre>