look at this code below
when i compile this code, it isn’t the expected output i wantCode:printf(“range =”);scanf(“%i”,&range); printf(“target =”);scanf(“%i”,&target); if( ( (range==target)>0) && ( (range==target)<10) )
example, range=12 and target=12, it will go to else not if true
simple way says, the range==target must between >0 and <10
0 < range==target < 10
any ideas?