Write a C program to print the given number pattern using for loop. How to print the given number pattern of m rows and n columns using for loop in C programming. Logic to print the given number pattern using for loop in C program.
Example
Input
Input rows: 5 Input columns: 5
Output
12345 23451 34521 45321 54321