Advertisement
Guest User

Untitled

a guest
Nov 18th, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. package com.javarush.task.task03.task0314;
  2.  
  3. /*
  4. Таблица умножения
  5. */
  6.  
  7. public class Solution {
  8. public static void main(String[] args) {
  9. //напишите тут ваш код
  10. int x = 1;
  11. int y = 1;
  12.  
  13. while(x <= 10)
  14. {
  15. while(y <= 10)
  16. {
  17. System.out.print(x * y + " ");
  18. y++;
  19. }
  20. System.out.println();
  21. x++;
  22. y = 1;
  23. }
  24. }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement