15
1
using System;
2
3
public class Program
4
{
5
public static void Main()
6
{
7
int x = 10, y = 100;
8
9
string result = x > y ? "x is greater than y"
10
: x < y ? "x is less than y"
11
: x == y ? "x is equal to y" : "No result";
12
13
Console.WriteLine(result);
14
}
15
}
Cached Result
Please enter a positive integer greater than zero:
>