Operands to the || and && operators must be convertible to logical scalar values.Error in parentProgram (line 2)if((positive_sum<datestr('0,30','HH,MM')) && (negative_sum<datestr('1,00','HH,MM')))
Where am i going wrong?
errorlogical?operator
Operands to the || and && operators must be convertible to logical scalar values.Error in parentProgram (line 2)if((positive_sum<datestr('0,30','HH,MM')) && (negative_sum<datestr('1,00','HH,MM')))
Best Answer