Hello, I’m working on this task:
Write a program that outputs all odd numbers between 100 and 200.
Here is my code:
namespace ForLoops
{
class Odd
{
static void Main(string[] args)
{
// Write your code here
for (int i = 100; i < 200; i = i + 1 + 2)
{
Console.WriteLine(i);
}
}
}
}
Can anyone please help me to solve it?