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. Repeat step 5 to 8 until all value parsed.
  5. Set i = 0 and check i<10;
  6. Set j = 0 and check j <= 10;
  7. Check conditions if(i==0 or i==10 or j==0 or j==10)
  8. If true print ?1? else print space.
  9. End

JAVA

Python

C program

C# program

PHP program






Latest Courses