Skipping "IF" function when working with structures : <pre><code>#include &lt;stdio.h&gt;
#include &lt;string.h&gt;
#include &lt;stdlib.h&gt;

struct res{
int win;
int defeat;
}; 


struct tenis_player{
char name[20];
char last_name[20];
int pos;
char hand[10];
struct res comp;
}Ten[20];

int main(){
int i, n;
float comparison, br=0;
scanf("%d",&amp;n);
for(i=0;i&lt;n;i++){
    scanf("%s",&amp;Ten[i].name);
    scanf("%s",&amp;Ten[i].last_name);
    scanf("%d",&amp;Ten[i].pos);
    scanf("%s",&amp;Ten[i].hand);
    scanf("%d/%d",&amp;Ten[i].comp.win,&amp;Ten[i].comp.defeat);
    }
    printf("Results:\n");
    for(i=0; i&lt;n; i++){  
        comparison = Ten[i].comp.win/Ten[i].comp.defeat;
            if(Ten[i].hand == "left" &amp;&amp; comparison&gt;3){
                printf("%s %s %f",Ten[i].name,Ten[i].last_name,comparison);
                br++;
                printf("\n");}}
        if (br==0)
        printf("No tenis players");
return 0;
}
</code></pre>

<p>My code keeps skipping the "if(Ten[i].hand == "left" &amp;&amp; comparison>3)" and just prints out "No tenis players" no matter what I input.
Any help would be appreciated ! :)</p>
