0
This would be easy to do with a FOR loop. In Java you could use code somewhat like this. for(int count = 1; count < 7; count++) { System.out.print(count); } This code will output as required.
16th Nov 2016, 8:58 PM
Eric Farmer
Eric Farmer - avatar