+ 1
Why its not working? Help im new
2 Réponses
+ 3
You used like this 
if(a > b);
It is not valid.
There should not be any semicolon after if statement.
And you wrote like this 
Console.Writeline();
But it is 
Console.WriteLine();
(capital 'L')
+ 2
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SoloLearn
{
    class Program
    {
        static void Main(string[] args)
        {
            int a=5;
            int b=10;
            
            if(a > b)
            {
            Console.WriteLine("a is greater than b");
            }
            else;
            {
            Console.WriteLine("b is greaterthan a");
            }
        }
    }
}





