Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Clock2 {
- public static void main(String[] args) {
- for (int h = 0; h < 24; h++) {
- for (int m = 0; m < 60; m++) {
- for (int s = 0; s < 60; s++) {
- System.out.printf("%d : %d : %d\n", h, m, s);
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement