Write a program that produces the following output:
CCCCCCCCC ++ ++
CC ++ ++
CC ++++++++++++++ +++++++++++++++
CC ++++++++++++++ +++++++++++++++
CC ++ ++
CCCCCCCCC ++ ++
As one of the options:
static void Main(string[] args)
{
Console.WriteLine("CCCCCCCCC ++ ++");
Console.WriteLine("CC ++ ++");
Console.WriteLine("CC ++++++++++++++ +++++++++++++++");
Console.WriteLine("CC ++++++++++++++ +++++++++++++++");
Console.WriteLine("CC ++ ++");
Console.WriteLine("CCCCCCCCC ++ ++");
Console.ReadLine();
}
Comments
Leave a comment