سلام
من این کد رو در متلب اجرا کردم اما در خط 13 خطا میده
Operands to the || and && operators must be convertible to logical scalar values.
Error in Untitled (line 13)
while(yesno ~= 'yes' && yesno ~= 'no' && yesno ~= 'y' && yesno ~= 'n');
سلام
من این کد رو در متلب اجرا کردم اما در خط 13 خطا میده
Operands to the || and && operators must be convertible to logical scalar values.
Error in Untitled (line 13)
while(yesno ~= 'yes' && yesno ~= 'no' && yesno ~= 'y' && yesno ~= 'n');