In if statement comma(,) should not be there. As we know that that in parenthesis of “if” the condition is written. So ,condition should be separated by (and operator)(&&) or ||(or operator) operator according to your program. Hope it Helps!!!