Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- public class Clock {
- public static void main(String[] args) {
- Scanner scanner = new Scanner(System.in);
- for (int i = 0; i < 24 ; i++) {
- for (int j = 0; j < 60 ; j++) {
- System.out.printf("%d : %d%n",i,j);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement