18
1
using System;
2
public class Program {
3
public static void Main() {
4
5
Console.WriteLine("Enter first number:");
6
int a = Convert.ToInt32(Console.ReadLine());
7
8
Console.WriteLine("Enter second number:");
9
int b = Convert.ToInt32(Console.ReadLine());
10
11
if (a > b) {
12
Console.WriteLine("First number is larger than the second one.");
13
} else if (a == b) {
14
Console.WriteLine("First and second numbers are equal.");
15
}
16
17
}
18
}
Cached Result
True
True
False
True
False