|
Fig 1: Pattern Programming Output |
using System;
class Pattern_Star
{
public static void Main()
{
int i,j,row;
Console.WriteLine("Enter the no. of row you have to print");
row=Convert.ToInt32(Console.ReadLine());
for(i=0;i<row;i++)
{
for(j=0;j<row;j++)
Console.Write("@");
Console.WriteLine();
}
}
}