Math, asked by SurajSRKRocks74511, 7 months ago

What will be the output of following command a=0:0.1:2

Answers

Answered by codiepienagoya
0

Given:

\bold{a=0:0.1:2}

To find:

output =?

Solution:

\Rightarrow a=0:0.1:2\\\\\Rightarrow a= \frac{\frac{0}{0.1}}{\frac{2}{1}}\\\\\Rightarrow a= \frac{0}{0.1}\times \frac{1}{2}}\\\\\Rightarrow a= \frac{0 \times 10 }{1}\times \frac{1}{2}}\\\\\Rightarrow a= \frac{0}{2}\\\\ \Rightarrow a= 0

The output of a is = 0

Similar questions