using System;
class Program
{
static void Main()
{
int min = 5, max = 10;
do
{
Console.WriteLine(min);
min++;
} while (min <= max);
Console.ReadKey();
}
}
|
Class Program
Shared Sub Main()
Dim min As Integer = 5, max As Integer = 10
Do
Console.WriteLine(min)
min += 1
Loop While min <= max
Console.ReadKey()
End Sub
End Class
|