for (int i = 5; i >= 1; i--)
{
for (int j = 0; j < i; j++)
{
Console.Write("*");
}
Console.WriteLine();
}
Console.WriteLine("---------------------------");
That is the code I am trying to run.. but it is giving error :
Uncaught SyntaxError: Unexpected identifier.
How should I resolve it?