0
Problem in C#
I have a question in C# and since 3 days I cant solve it. Can some one help? It's Fill in the blanks to print the EVEN values from 0 to 100 using a for loop: for (int x = 0; x < 100; x+= (the problem) ) { Console.WriteLine(x); }
2 Answers
+ 4
After x = 0, next even number is x = 2 ,
How you will get it? by adding 2
x += 2
+ 1
Thank you it worked!