Computer Science, asked by rwtlucky111, 7 months ago

find the output of
x,y = 4,8
z=x/y*y
print (z)​

Answers

Answered by AnshumanRai9910
1

Answer:

4.0

Explanation:

Here at first line of code the value of x is 4 and y is 8.

At second line, expressing equation in the form of number we get:

z = 4/8*8

Now solving it :

Programming languages calculates equation from first operators. So,

z = 0.5*8

z = 4.0

Hence the third line of code prints 4.0.

Hope this helped.

Answered by sanaarauf2
0
4.0 is the Answer pls mark me as a branlies pls pls pls pls pls pls pls
Similar questions