// code\\
printf("\nchoose your league:");
scanf("%s",&league);
if (league=='nba')
printf("you have choosen nba");
else if (league=='euro')
printf("you have choosen euroliga");
//code\\
my program stops after scanf,"IF" doesn't work
i tried after scanf to print what was given from the keyboard and i worked just fineso the problem must be in the "IF" part of the program,I would be glad if you could help me:D anyway thxfor your time ;)