more comments

This commit is contained in:
2015-09-25 09:40:51 +03:00
parent 11e1d9e03f
commit c64891a046

View File

@@ -4,6 +4,12 @@ public class pangapass {
public static void main(String[] args) {
for (int i = 0; i <= 9999; i++) {
// java string format magic
// % - start of a format token
// 04 - add 4 leading zeros
// d - type is int
// % - start of a new format token
// n - inserts a new line
System.out.printf("%04d%n", i);
}
}