using djgpp on win 98, hid_places_f2[0] = 1, hid_places_f2[1] = 2, this always prints the message at the end, even if y is equal to -1,and i don't want it to, think i amde an error, if you could help out please.
int y = 0;
y = hid_places_f2[0] - hid_places_f2[1];
if ( (y % 3) != 0 || y != 1 || y != -1 )
printf("%d%d%d%dwrong", y, hid_places_f2[0], hid_places_f2[1], hid_places_f2[2]);
int y = 0;
y = hid_places_f2[0] - hid_places_f2[1];
if ( (y % 3) != 0 || y != 1 || y != -1 )
printf("%d%d%d%dwrong", y, hid_places_f2[0], hid_places_f2[1], hid_places_f2[2]);