0

How can i print "1." to "9." each on new line

1. 2. 3.

23rd Aug 2022, 6:43 AM
Pele Baki
Pele Baki - avatar
1 Answer
+ 2
Please describe language, otherwise here's a common solution: use any loop and put \n at the starting/end. For example for (int I=1; I<=9; I++) printf ("%d\n",I);
23rd Aug 2022, 6:50 AM
Rupali Haldiya
Rupali Haldiya - avatar