- 2
Please tell me how to solve ?
x/=3*y+z
5 Answers
+ 4
Here is the elaborated form:
x = x / (3 * y + z)
Suppose, y = 2, z = 3;
then,
x = x / (6 + 3)
x = x/9
+ 3
x=2/(3*3 +1)
=2/10
if x is of type float .. you get 0.2
if it's int .. I guess then you get 0 (cuz it drops the .2)
0
what is the value given for int y and z
0
x=2 ,y=3 ,z=1
0
thank you everyone âș