- 3
int x = 10; x = ;
why is it not working,smby help me
7 Answers
+ 3
According to the task, you are supposed to use the /= operator, to assign the original value of x divided by 5, to x. So
int x = 10;
x /= 5;
+ 3
Well, what are you trying to do? Are you trying to assign a different value to variable x?
0
Yes! Im trying to assign a different value to variable x
0
Fill in the missing part of the following code to divide x by 5 using the /= operator.
int x = 10;
x
=
;
0
Thanks Hatsy!It worked
0
x /= 5;
- 3
How to solve this