Answers for "c# or if statement"

C#
1

if c#

int a = 5;
int b = 10;

if (b > a) //true
{
  b = b - a;
}
Posted by: Guest on September-25-2021
0

c# if

if (20 > 18) 
{
  Console.WriteLine("20 is greater than 18");
}

/*
Less than: a < b
Less than or equal to: a <= b
Greater than: a > b
Greater than or equal to: a >= b
Equal to a == b
Not Equal to: a != b
*/
Posted by: Guest on July-01-2021

C# Answers by Framework

Browse Popular Code Answers by Language