Advertisement
Guest User

Untitled

a guest
Feb 10th, 2016
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.59 KB | None | 0 0
  1.  
  2. public class Main6MultTable {
  3.     public static void main(String[] args) {
  4.         for (int i = 1; i < 10; i++) {
  5.             for (int j = 1; j < 10; j++) {
  6. //                System.out.println(i + " * " + j + " == " + i * j);
  7.                 //sout
  8. //                System.out.print(j + " * " + i + " == " + i * j + "\t\t");
  9.                 //souf
  10.                 System.out.printf("%d * %d == %d\t\t", j, i, i * j);
  11.             }
  12.             System.out.println();
  13.         }
  14.  
  15.         System.out.printf("число %d, строка %s, дробное %.1f", 10, "java", 22.1234);
  16.     }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement