Pattern 12: C Program to print Cross or X Star Pattern using loops

Write a C Program to print Cross or X star pattern:

C program to print the Cross or X Star Pattern.

Here is the Example output of the program

Cross-or-X-star-pattern-Program

or

 *       *
  *     * 
   *   *  
    * *   
    * *   
   *   *  
  *     * 
 *       *

X Star Pattern Program:

Program Output:

We are using GCC compiler to compile the program.

Print-Cross-or-X-Star-Pattern-in-c-language
X-Star pattern program output on GCC

Similar Star pattern programs:

More C programs:

Venkatesh

Hi Guys, I am Venkatesh. I am a programmer and an Open Source enthusiast. I write about programming and technology on this blog.

You may also like...

5 Responses

  1. foram says:

    How print
    a
    b
    c
    upto z

    • Durgam prashanth says:

      Using System ;
      Class atoz{
      Static void Main () {
      Char c;
      For( c=’a’ ; c
      Console.WriteLine (c) ;
      }
      }
      }

  2. foram says:

    How to print
    a
    b
    c
    d
    e…upto z

  3. Aman Rustagi says:

    Thanks nice programs for beginners. I found fer more pattern programs :

Leave a Reply