Question Detail
Question
Which of the following option is the correct representation of the following statement? e = a * b + c / d * f
Correct Answer
Option A is the correct answer.
Detailed Explanation
Following operator precedence (multiplication and division before addition), the expression e = a * b + c / d * f is correctly represented as e = ((ab) + (c / (df))).
Hint
Remember BODMAS/PEMDAS rules for operator precedence.