How many expressions are used to describe a mathematical relation between a, b and c? [code]b=9; c=4; a=b+c;[/code]

How many expressions are used to describe a mathematical relation between a, b and c?
Code:
b=9; c=4;
a=b+c;
A. 4
B. 2
C. 3
D. 1
 
Answer: b
Explanation: The code has 4 expressions, ‘b=9’, ‘c=4’, ‘b+c’, and ‘a=b+c’. The mathematical relation is described by ‘a=b+c’ only which contains 2 expressions. Hence, there are two expressions that has been used to describe a mathematical relation between a, b and c.
 

Tìm kiếm

Back
Top