0

Why there is an (x+=2) in this quiz

4/7/2019 7:24:15 AM

Iqra

6 Answers

New Answer

+2

Iqra Incomplete information, which quiz you are talking about?

+1

Iqra Sorry still incomplete information. There are tons of question on for loop, and you haven't mentioned the language either. Kindly copy-paste / type the quiz question or provide the link for fast resolution.

+1

Iqra You need to print even numbers. starting value of x = 0; so next even is obviously 2, 4, 6 etc. hence x is incrementef by 2 (x+=2), one could have also written x = x+2, "+=" is just short form

+1

Oh okk i got it....thnkx

0

FOR loop last quiz

0

https://www.sololearn.com/post/83587/?ref=app