+ 1

How can i print pattern N time?

for example if i give n=5, 55555,n=4 4444

3rd Sep 2016, 4:23 AM
Yogesh Singh
Yogesh Singh - avatar
1 Answer
0
int n; for(int i=0;i<n;i++) { System.out.print(n); }
3rd Sep 2016, 8:44 AM
bayram akdemir
bayram akdemir - avatar