Assume the given declarations and fill in the
value of the expression.
int a = 1, b = 2, c = 3;
Expression: b = a = c
Answers
Answered by
0
Answer: 3b=6a=2c
Explanation: Go on to take out the ratio of b:a and a:c Also make sure when you do this, you cross multiply to get the equation in ( b,a) and (a,c). Once you are done, make coefficient of a in both the equations equal and lo, you've your answer! The steps are:
Step 1: b:a =2:1---->means b=2a (cross multiplication)-------equation_1
a:c=1:3----> means 3a=c (cross multiplication)------equation_2
Step 2: look out the coefficients of a in both equations and make them the same. Here if you multiply both the equations by 3 and 2 consecutively you will get the values of coefficients as 6.
So
equation_1 will be 3b=6a and equation_2 will be 6a= 2c
Similar questions