using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace bt_83
{
class Program
{
static void Main(string[] args)
{
int n;
do
{
Console.Write("nhap n:"); n = int.Parse(Console.ReadLine());
} while (n < 1 || n > 99);
Console.Write("nhung so thoa man dkien de bai la:");
for (int m = 1; m <= n; m++)
{
if (m % 2 == 0)
Console.Write(m + "\t");
}
Console.ReadKey();
}
}
}
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace bt_83
{
class Program
{
static void Main(string[] args)
{
int n;
do
{
Console.Write("nhap n:"); n = int.Parse(Console.ReadLine());
} while (n < 1 || n > 99);
Console.Write("nhung so thoa man dkien de bai la:");
for (int m = 1; m <= n; m++)
{
if (m % 2 == 0)
Console.Write(m + "\t");
}
Console.ReadKey();
}
}
}