While loop keeps printing 111111111.......n times #39083
Answered
by
stephentoub
lucifer1303
asked this question in
General
-
while loop keeps printing 1.. |
Beta Was this translation helpful? Give feedback.
Answered by
stephentoub
Jul 10, 2020
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
lucifer1303
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
d= +1;
is the same asd = 1;
. It's an assignment, not a compound addition and assignment.