using System;
namespace Relational {
class Program {
static void Main(string[] args){
int x = 17;
int y = 5;
Console.WriteLine("{0} =={1}={2}", x, y, x == y);
Console.WriteLine("{0} !={1}={2}", x, y, x != y);
Console.WriteLine("{0} < {1}={2}", x, y, x < y);
Console.WriteLine("{0} <={1}={2}", x, y, x <= y);
Console.WriteLine("{0} > {1}={2}", x, y, x > y);
Console.WriteLine("{0} >= {1}={2}", x, y, x >= y);
Console.ReadLine();
}
}
}
ไม่มีความคิดเห็น:
แสดงความคิดเห็น