Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
16
Task/Integer-comparison/C-sharp/integer-comparison.cs
Normal file
16
Task/Integer-comparison/C-sharp/integer-comparison.cs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
using System;
|
||||
|
||||
class Program
|
||||
{
|
||||
static void Main()
|
||||
{
|
||||
int a = int.Parse(Console.ReadLine());
|
||||
int b = int.Parse(Console.ReadLine());
|
||||
if (a < b)
|
||||
Console.WriteLine("{0} is less than {1}", a, b);
|
||||
if (a == b)
|
||||
Console.WriteLine("{0} equals {1}", a, b);
|
||||
if (a > b)
|
||||
Console.WriteLine("{0} is greater than {1}", a, b);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue