Computer Science, asked by jaishree16994, 11 months ago

The program must accept a positive even integer N as the input. The program must print the desired pattern as shown in the Example Input/Output section.

Boundary Condition(s):
2 <= N <= 100

Input Format:
The first line contains the positive even integer N.

Output Format:
The lines containing the desired pattern as shown in the Example Input/Output section.

Example Input/Output 1:
Input:
6

Output:
1666666
2255555
3334444

Example Input/Output 2:
Input:
4

Output:
14444
22333​

Answers

Answered by purnamahesh
0

Answer:

I had written the code in C++.

mail me ([email protected]) if you need it in other languages

Attachments:
Similar questions