I am writing a code for Pass/Fail criteria for a application in which if two given conditions are satisfied then it will be pass or it will fail. but I am getting error as,
'Operands to the || and && operators must be convertible to logical scalar values.'
suggest me correction in my code
Thank u in advance!!
for system = 1 if ((A == 45) && (0.8 < B < 1.2)) display('system function - PASS');else display('system function - FAIL');endend
Best Answer