can someone explain to me why these two statements are different?
while(!(choice=='u'||choice=='U'||choice=='d'||choice=='D'))
while(choice!='u'||choice!='U'||choice!='d'||choice!='D')
sorry to be asking such a moronic question, but i swear ive used similar statements to the second one before, but it doesnt work now.
žÅNžÅ
while(!(choice=='u'||choice=='U'||choice=='d'||choice=='D'))
while(choice!='u'||choice!='U'||choice!='d'||choice!='D')
sorry to be asking such a moronic question, but i swear ive used similar statements to the second one before, but it doesnt work now.
žÅNžÅ