Question: what are the purpose of relational operators?
Answer: Explain purpose of relational operators and logical operator. Relational operators: Relational operators are used for comparison of to variables of same data type. These operators are used in the conditions where two values are compared and true or false is returned according to test result.