using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Pattern_1
{
class Program
{
static void Main(string[] args)
{
for ( int i = 1; i <= 10; i++) ;
for (int j = 1; j <= 10; j++) ;
Console.Write("x");
Console.ReadLine();
}
}
}
This code should write a square block of x on the screen it doesn't what should be added to the code ?
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Pattern_1
{
class Program
{
static void Main(string[] args)
{
for ( int i = 1; i <= 10; i++) ;
for (int j = 1; j <= 10; j++) ;
Console.Write("x");
Console.ReadLine();
}
}
}
This code should write a square block of x on the screen it doesn't what should be added to the code ?