Ok so here is the problem... this is my code:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DesignOutput
{
    class Assignment 
    {
        static void Main()
        {
            Console.WriteLine("CCCCCCCCCC");
            Console.WriteLine("CC\t\t##\t##");
            Console.WriteLine("CC\t\t##############");
            Console.WriteLine("CC\t\t##\t##");
            Console.WriteLine("CC\t\t##############");
            Console.WriteLine("CC\t\t##\t##");
            Console.WriteLine("CCCCCCCCCC");
            Console.ReadKey();
        }
    }
}

Im trying to match this:

CCCCCCCCCCC
CC                    ##   ##           
CC                ##############               
CC                    ##   ##
CC                ##############
CC                    ##   ##
CCCCCCCCCC

the " ##" in lines 2,4,6 (first set) need to be pushed basically one more unit to the right in order for everything to align up, but I dont know if that cant be done I tried experimenting with

\t

but its not working

This is what I am getting:

[IMG]http://i.imgur.com/zGqFv.png[/IMG]

Thanks Again for all the help.

Recommended Answers

All 2 Replies

Console.WriteLine("CC\t\t    ##   ##");
Console.WriteLine("CC\t\t    ##   ##");

Woah, thanks a bunch but its weird cause when I put space it showed no change to the output, when I ran the program so I thought spaces weren't recognized. Guess thats where the experience comes in !

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.