using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp9
{
class Program
{
static void Main(string[] args)
{
int i, j, k, l, m ;
for (i = 0; i <= 6; i++)
{
for (k = 65; k <= 71 - i; k++)
Console.Write((char)k);
for (j = 1; j <= i * 2 - 1; j++)
Console.Write(" ");
for (l = 71 - i; l >= 65; l--)
if (l != 71)
Console.Write((char)l);
Console.WriteLine("");
}
Console.ReadLine();
}
}
}
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp9
{
class Program
{
static void Main(string[] args)
{
int i, j, k, l, m ;
for (i = 0; i <= 6; i++)
{
for (k = 65; k <= 71 - i; k++)
Console.Write((char)k);
for (j = 1; j <= i * 2 - 1; j++)
Console.Write(" ");
for (l = 71 - i; l >= 65; l--)
if (l != 71)
Console.Write((char)l);
Console.WriteLine("");
}
Console.ReadLine();
}
}
}
No comments:
Post a Comment