using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace bt_78
{
class Program
{
static void Main(string[] args)
{
int n;
string s = "";
do
{
Console.Write("\nnhap n="); n = int.Parse(Console.ReadLine());
s = s + n + "\t";
if (n % 2 == 0 && n != 0)
Console.Write(n + "\t");
} while (n != 0);
Console.Write("cac so nguyen chan da nhap la:" + s);
Console.ReadKey();
}
}
}
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace bt_78
{
class Program
{
static void Main(string[] args)
{
int n;
string s = "";
do
{
Console.Write("\nnhap n="); n = int.Parse(Console.ReadLine());
s = s + n + "\t";
if (n % 2 == 0 && n != 0)
Console.Write(n + "\t");
} while (n != 0);
Console.Write("cac so nguyen chan da nhap la:" + s);
Console.ReadKey();
}
}
}