using System;
class Program
{
public static void Main()
{
int target=100;
int i=10;
while (i <= target)
{
if (i >= 50)
{
break;
}
Console.WriteLine(i);
i = i + 10;
}
}
}
class Program
{
public static void Main()
{
int target=100;
int i=10;
while (i <= target)
{
if (i >= 50)
{
break;
}
Console.WriteLine(i);
i = i + 10;
}
}
}
No comments:
Post a Comment