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