Even number pattern 2 in C

Write a C program to print the given even number pattern using loop. How to print the given even number pattern using for loop in C programming. Logic to print the given number pattern in C program. Example Input Input N: 5 Output 2 242 24642 2468642 2468108642 2 242 24642 2468642 2468108642 Required knowledge … Read more

C program to print circle box number pattern with 1 and 0

Write a C program to print the given circle number pattern with 1’s and 0’s. How to print circle number pattern of one’s and zero’s using for loop in C programming. Logic to print the box number pattern with 1 as border and 0 in center and corners.

Example

Input

Input rows: 5
Input cols: 5

Output

01110
10001
10001
10001
01110

Read more

C program to print heart star pattern with name in center

Write a C program to print heart star pattern with name in the center. How to print heart star pattern with the name in center using for loop in C programming. Program to print the below heart star pattern.

Read more

Number pattern 35 in C

Write a C program to print the given number pattern using loop. How to print the given number pattern using for loop in C programming. Logic to print the given number pattern using loop in C program.

Example

Input

Input N: 5

Output

Read more