Home » Program to Print Pattern 14

Program to Print Pattern 14

by Online Tutorials Library

Program to print the following pattern

Program to print the following pattern
Program to print the following pattern

Algorithm

  1. Start
  2. Let i be an integer number.
  3. Let j be an integer number.
  4. Let size be an integer number and initialize by 6.
  5. Repeat step 6 to 10 until all value parsed.
  6. Set i = size and check I != 0;
  7. Set j = 0 and check j <= size-i;
  8. Print space.
  9. Set k = 0 and check k <= 2*i-1;
  10. Print star symbol.
  11. End

JAVA

Python

C program

C# program

PHP program

You may also like