Advertisement
veronikaaa86

02. Multiplication Table

Aug 7th, 2021
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. import java.util.Scanner;
  2.  
  3. public class Main {
  4. public static void main(String[] args) {
  5. for (int hours = 0; hours <= 23; hours++) {
  6. for (int minutes = 0; minutes <= 59; minutes++) {
  7. System.out.printf("%d:%d%n",hours,minutes);
  8. }
  9.  
  10. }
  11. }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement