Write a C program to print the given number pattern using 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 loop in C program.
Example
Input
Input rows: 5 Input columns: 5
Output
12345 23456 34567 45678 56789