- 4
Can anyone help me out how to print the following pattern
Here's the sample I/p and o/p Input 5 6 Output 55555 25252 16161 15151 13131 99999
3 Respuestas
0
Hey Mr.adrit it's not garbage values,if u observe the input it is taken 5 as columns and 6 as rows
And then initially it takes 5 and printed 5 for five times and then by adding them 25 will be printed for five times and so on for 6 times as the second number is 6