+ 1

How can I put spaces between the numbers to understand the given table easily?? Is it possible to convert in vertical line??

Table upto 20 https://code.sololearn.com/cQ4uoIbNxtH3/?ref=app

10th May 2020, 5:08 AM
Yash Chhimwal
Yash Chhimwal - avatar
5 Answers
+ 2
10th May 2020, 5:56 AM
P∆WAN M∆URY∆
P∆WAN M∆URY∆ - avatar
+ 2
Yash Chhimwal You can change your Condition like this. If you want 10 rows and 20 columns Note: For better view you can run this program on laptop. public class NestedForLoop { public static void main(String[] args) { for( int i= 1;i<=10;i++){ for( int j= 1;j<=20;j++){ System.out.print(i*j + " " ); } System.out.println(); } } }
10th May 2020, 6:01 AM
P∆WAN M∆URY∆
P∆WAN M∆URY∆ - avatar
+ 1
Thanks.
10th May 2020, 5:17 AM
Yash Chhimwal
Yash Chhimwal - avatar
+ 1
Is it possible to convert it in vertical lines??
10th May 2020, 5:18 AM
Yash Chhimwal
Yash Chhimwal - avatar
+ 1
One last question, can I convert in matrix form, like 10 rows and 20 Coloumns ?? If yes then how can I??
10th May 2020, 5:25 AM
Yash Chhimwal
Yash Chhimwal - avatar