TASK C2.2: Explain why we wrote '==' rather than '=' in the expression.
// Make sure you explain what would happen if you write '=' rather
// than '==' in the expression
Dear visitor, The '==' is the equality comparison operator. It returns true if the operands are equal. The '=' is an assignment operator. It returns true if the right operand value is successfully assigned to the left one. If we have put an assignment operator, it would most likely return true(as assignment was successful), unless the operands are incompatible. We, on the other hand, want to compare the operands. So the '=' operator is useless to us in this case.
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment