static void Main(string[] args)
{
int number = 0;
bool limit = (number < 100);
while (limit)
{
Console.WriteLine("the number is " + number);
number++;
}
}
As far as I understand it should stop at 100 but for some reason it doesnt.


Sign In
Create Account


Back to top









