Observe the code given below:
a=5.56
b=4.32
c=`echo $a + $b | bc`
echo “$a + $b = $c”
echo ” Final Output is $c”
What would be the final output of this code?
A.
9
B.
9.8
C.
9.9
D.
9.88
Explanation:
Observe the code given below:
a=5.56
b=4.32
c=`echo $a + $b | bc`
echo “$a + $b = $c”
echo ” Final Output is $c”
What would be the final output of this code?
Observe the code given below:
a=5.56
b=4.32
c=`echo $a + $b | bc`
echo “$a + $b = $c”
echo ” Final Output is $c”
What would be the final output of this code?
A.
9
B.
9.8
C.
9.9
D.
9.88
Explanation: